下載搬運網單行本漫畫
Used 'Slow 4G' network throttling to intentionally cause failures for demonstration purposes!
Download manga from the following sources as zip archives :package:

打包下載~/Downloads folder<C-o> - Open sidebar menu (same as clicking the floating menu ball)<C-q> - Close sidebar menu (same as clicking the cross)| Browser | Tampermonkey |
|---|---|
| Chromium | 5.3.0 |
This script uses the Fetch API and GM_xmlhttpRequest to send HTTP requests and receive payloads as ArrayBuffers. It then packages these ArrayBuffers into a ZIP file using JSZip and saves the file to your computer using FileSaver.js.
Payloads of returned requests are presumably stored in the RAM, NOT on your hard disk. In order to prevent the script from creating an ArrayBuffer larger than the memory allocation the tab holds, the cap is hardcoded to 512 * 2^30, roughly around 0.5 GB.
When that limit is exceeded, a new JSZip object is created and the previous ones are saved on the fly (interval being 500ms).