Sleazy Fork is available in English.

nHentai Helper

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

Від 07.06.2020. Дивіться остання версія.

Автор
神代綺凛
Рейтинги
0 0 0
Версія
2.6.1
Створено
26.12.2018
Оновлено
07.06.2020
Ліцензія
GPL-3.0
Відноситься до

nHentai Helper

Also support NyaHentai.

Support Greasemonkey, Tampermonkey and Violentmonkey (by @z2n).

Main features

  1. You can download doujin as ZIP (CBZ). You must keep the page in the foreground when downloading.
  2. Add pjax support on dojin list page. Turning pages will not interrupt downloads.
  3. Download queue support on dojin list page. It will warn you when you download a doujin which was already downloaded, even they were uploaded by different people but are the same doujin. Up to 1000 history records.

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

Other features

Language filter

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

100% view height

Effective when reading online.

Removing console shielding of nhentai

* Not work when using Violentmonkey.

Too lazy to translate all of them :(

有尝试为 nhentai 开发脚本的朋友应该也会头疼这个问题,nhentai 会不停的执行console.clear,即使你console.clear=()=>{},也仍然会每秒 log 出一个<div></div>,很是烦人

在我刚开始开发这个脚本的时候我的解决方法非常暴力,将那个罪魁祸首 js 下载一份传到我自己的服务器上,删掉里面调用了console的代码,然后用重定向插件进行重定向,这样可以保证不会破坏console

但该 js 也会时不时更新,我也得重新更新,虽然更新频率很低,总归是很麻烦的

于是我还是决定使用一劳永逸的方法,这一方法你可以在脚本源码开头看到,因为其会对console进行一些破坏性的改动,因此我在这里进行专门说明

You just need to pay attention to these:

  1. If you want to use console.clear, please use console._clear instead.
  2. If you want to console.log a Node or HTMLElement, please use console._log or console.info instead.