Download nHentai manga as compression file easily, and add some useful features. Also support some mirror sites.
Currently there is an option "Filename length", but it is a fixed length.
Auto length feature can be added in next version.
I have one more request, can you show the page count right beside the download button?
so I will know how many pages are on each manga without open them one by one
It is impossible. NHentai did not provide page count on manga list page.
Auto pad filenames feature is available now. Just set option "Filename length" to "auto".
I updated the script to the newest version, but I don't know what happened, I can't save the downloaded manga, the green progress bar never showed up, then I restarted my Firefox, and the download button disappeared as well
I already reinstall Tampermonkey, cleared cache, and still doesn't work
Any solution?
Could you see if there are any errors in console?
@require: couldn't load @require from URL 'https://code.bdstatic.com/npm/jquery@3.6.0/dist/jquery.min.js': unknown error nHentai Helper.user.js:2:9
@require: couldn't load @require from URL 'https://code.bdstatic.com/npm/file-saver@2.0.5/dist/FileSaver.min.js': unknown error nHentai Helper.user.js:4:9
@require: couldn't load @require from URL 'https://code.bdstatic.com/npm/jquery-pjax@2.0.1/jquery.pjax.js': unknown error nHentai Helper.user.js:6:9
@require: couldn't load @require from URL 'https://code.bdstatic.com/npm/vue@2.6.14/dist/vue.min.js': unknown error nHentai Helper.user.js:8:9
@require: couldn't load @require from URL 'https://code.bdstatic.com/npm/noty@3.1.4/lib/noty.min.js': unknown error nHentai Helper.user.js:10:9
@require: couldn't load @require from URL 'https://code.bdstatic.com/npm/md5@2.3.0/dist/md5.min.js': unknown error nHentai Helper.user.js:12:9
@require: couldn't load @require from URL 'https://code.bdstatic.com/npm/comlink@4.3.1/dist/umd/comlink.min.js': unknown error nHentai Helper.user.js:14:9
@require: couldn't load @require from URL 'https://code.bdstatic.com/npm/localforage@1.10.0/dist/localforage.min.js': unknown error nHentai Helper.user.js:16:9
@resource: can't load @resource 'notycss' from URL 'https://code.bdstatic.com/npm/noty@3.1.4/lib/noty.css': timed out eval:16:324
Is it like this?
Yes, It seems that you can't access the CDN code.bdstatic.com.
Can you access this URL? https://lf3-cdn-tos.bytecdntp.com/cdn/expire-1-y/noty/3.1.4/noty.min.js
I can
Should be fixed now
@require: couldn't load @require from URL 'https://lib.baomitu.com/FileSaver.js/2.0.5/FileSaver.min.js': unknown error nHentai Helper.user.js:5:9
@require: couldn't load @require from URL 'https://lib.baomitu.com/jquery.pjax/2.0.1/jquery.pjax.min.js': unknown error nHentai Helper.user.js:7:9
@require: couldn't load @require from URL 'https://lf26-cdn-tos.bytecdntp.com/cdn/expire-1-y/vue/2.6.14/vue.min.js': unknown error nHentai Helper.user.js:9:9
@resource: can't load @resource 'notycss' from URL 'https://lf26-cdn-tos.bytecdntp.com/cdn/expire-1-y/noty/3.1.4/noty.css': unknown error eval:16:324
Source map error: Error: NetworkError when attempting to fetch resource.
Resource URL: moz-extension://88ad9cb6-6a34-47d6-8bfd-a0897da0f8ea/userscripts/nHentai%20Helper.user.js?id=88decaf3-4e95-428c-8ff9-a196737d6f8f
Source Map URL: comlink.min.js.map
Okay, I gave up... Now all use fastly.jsdelivr.net
Please try again.
it works, Thank You
I have a a question:
- How to automatically pad each filenames?
for example: in a folder with 10 files inside, I'd like to have 01, 02, 03, 04,..., 10 as filenames
in a folder with 100 files inside, I'd like to have 001, 002, 003, 004,...,098, 099, 100 as filenames
etc..
automatically detect filename with longest name (filename length) and automatically pad filename with zeros, it will not work for folder with less than 10 files though
Thank You