more dino support

This commit is contained in:
ed 2021-05-16 05:04:44 +02:00
parent 31100787ce
commit 322abdcb43
2 changed files with 5 additions and 4 deletions

View file

@ -9,7 +9,8 @@
turn your phone or raspi into a portable file server with resumable uploads/downloads using IE6 or any other browser
* server runs on anything with `py2.7` or `py3.3+`
* *resumable* uploads need `firefox 12+` / `chrome 6+` / `safari 6+` / `IE 10+`
* browse/upload with `IE4` / `netscape 4` on `win3.11` (heh)
* *resumable* uploads need `firefox 34+` / `chrome 37+` / `safari 7+`
* code standard: `black`
📷 screenshots: [browser](#the-browser) // [upload](#uploading) // [md-viewer](#markdown-viewer) // [search](#searching) // [fsearch](#file-search) // [zip-DL](#zip-downloads) // [ie4](#browser-support)

View file

@ -423,7 +423,7 @@ function up2k_init(subtle) {
is_https = (window.location + '').indexOf('https:') === 0;
if (is_https)
// chrome<37 firefox<34 edge<12 ie<11 opera<24 safari<10.1
// chrome<37 firefox<34 edge<12 opera<24 safari<7
shame = 'your browser is impressively ancient';
// upload ui hidden by default, clicking the header shows it
@ -440,8 +440,8 @@ function up2k_init(subtle) {
}
// show uploader if the user only has write-access
var perms = (document.body.getAttribute('perms') + '').split(' ');
if (!has(perms, 'read'))
var perms = document.body.getAttribute('perms');
if (perms && !has(perms.split(' '), 'read'))
goto('up2k');
// shows or clears a message in the basic uploader ui