/* makes the up2k ui REALLY minimal by hiding a bunch of stuff almost the same as minimal-up2k.html except this one...: -- applies to every write-only folder when used with --js-browser -- only applies if javascript is enabled -- doesn't hide the total upload ETA display -- looks slightly better ======================== == USAGE INSTRUCTIONS == 1. create a volume which anyone can read from (if you haven't already) 2. copy this file into that volume, so anyone can download it 3. enable the plugin by telling the webbrowser to load this file; assuming the URL to the public volume is /res/, and assuming you're using config-files, then add this to your config: [global] js-browser: /res/minimal-up2k.js alternatively, if you're not using config-files, then add the following commandline argument instead: --js-browser=/res/minimal-up2k.js */ var u2min = ` show advanced options `; if (!has(perms, 'read')) { var e2 = mknod('div'); e2.innerHTML = u2min; ebi('wrap').insertBefore(e2, QS('#wfp')); }