nHentai Helper

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

Author
神代綺凛
Daily installs
12
Total installs
14,130
Ratings
208 3 4
Version
2.12.1
Created
2018-12-26
Updated
2021-10-04
License
GPL-3.0
Applies to
  • nhentai.net
  • nyahentai
  • doghentai
  • cathentai
  • bughentai
  • qqhentai
  • foxhentai
  • eehentai
  • yyhentai

nHentai Helper

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

Main features

  1. You can download doujin as zip (or cbz). You must keep the page in the foreground when downloading.
  2. Add pjax support for list page. Changing pages will not interrupt downloads.
  3. Download queue support on dojin list page.
  4. You will be warned when you are going to download an already downloaded doujin.

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.

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).