FEATURE: Bulk downloads#9
Conversation
Prevent moodle from downloading pdfs (Hokkaydo#2)
|
I just fixed firefox zip issue using zip.js lib, but i don't like my solutions, mainly because zip.js does not work the way i wanted it to, forcing me to use HttpReader and make two fetch per files (firefox issue, maybe) and firefox's content-script x-ray features is shitty (i lost a lot of time) (But it's not that bad because the browser caches data between requests so making two requests per file does not download two times the file) |
|
Oh I like this feature! |
|
Your thoughts on this menu @Hokkaydo ? (basic styling, can be more beautiful) |
| runKeepAlive(); | ||
| } else { | ||
| console.log("clear") | ||
| clearInterval(keepAliveIntervalId); |
There was a problem hiding this comment.
I ran a format of the file, here is why things here changed
I like the window's style, maybe add some padding at the bottom? |


I created this feature because it can be quite convenient to download an entire moodle in one-time.
Currently supported: Chrome + Firefox
Current issues:
Due to a firefox bug , the lib client-zip i am using to generate the zip on chrome is not working on firefox. so for now, firefox has to download file one by one (still automatically)FIXED using zip.js
Possible improvements:
Improve UI, currently using only window.confirm as a UI but it's not really user-friendly. And there is not any progress information except console.
Organizing files in zip by folder