nHentai Helper

Download nHentai doujin as compression file easily, and add some useful features. Also support NyaHentai.

As of 2022-05-17. See the latest version.

Author
神代綺凛
Ratings
0 0 0
Version
2.15.2
Created
2018-12-26
Updated
2022-05-17
License
GPL-3.0
Applies to

nHentai Helper

Support Tampermonkey and Violentmonkey. Not and will not support Greasemonkey.

Main features

  • You can download doujin as zip (or cbz). You must keep the page in the foreground when downloading.
  • You will be warned when you are going to download an already downloaded doujin.
  • For doujin list page:
    • Add pjax support. Changing pages will not interrupt downloads.
    • Download queue support.
    • The caption of downloaded doujin will be marked with grey color.

Setting

  1. Download thread
    If you think the download speed is too slow, you can try to increase the number of download threads from this setting.
  2. Open on new tab
    Gallery page will be open on a new window by default, turn off it if you don't like it.
  3. Custom download URL
    WARNING: Please don't set this if you don't know what it does.
    Tip: You may need to add your domain into XHR security for this script.
    Provide a URL containing the following placeholder:
    • {{mid}} - Media ID
    • {{index}} - Page index, starting from 1
    • {{ext}} - Image file extension
  4. Compression filename
    Default is {{japanese}}.zip. You can custom the naming of downloaded compression file, including the file extension, such as {{english}}.cbz.
    Available placeholders:
    • {{english}} - English name of doujin
    • {{japanese}} - Japanese name of doujin
    • {{pretty}} - English simple title of doujin
    • {{id}} - Gallery ID
    • {{pages}} - Number of pages
  5. Compression level
    Accept a numer in 0-9, default is 0.
    0 means "no compression", 1 means "best speed", 9 means "best compression".
    Actually, for doujin, compression output size of 0 and 9 usually differ by less than 1%.
  6. Filename length
    Zeros will be padded to the start of image filename when its length lower than the value you specified. This can avoid the sorting confusion caused by sorting only by string in some cases.
  7. Auto cancel downloaded doujin
    When you are going to download an already downloaded doujin, it will be canceled automatically instead of pop-up a confirmation box.
  8. Auto retry when error occurs
    Automatically retry when an error occurs, instead of pop-up a confirmation box.

Other features

NyaHentai support

This script also support NyaHentai. You need to know two things:

  1. Its domains change frequently. If the script does not run on some domains, you can add them to User matches.
  2. If doujins cannot be downloaded, find the correct image URL and modify Custom Download URL.

Language filter

You can select a language in the navigation bar to filter doujins.

100% view height

Effective when reading online, only for NyaHentai (now nHentai already has this feature).

Recommended scripts

  • Super-preloader
    Let you have unlimited drop-down page turning experience in the doujin list page.