• Stars
    star
    500
  • Rank 85,296 (Top 2 %)
  • Language
    TypeScript
  • License
    GNU General Publi...
  • Created over 5 years ago
  • Updated 6 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

🔞 A user script make it easy for you to download nHentai manga as zip (or cbz), also support some mirror sites. 一个可以让你轻松打包下载 nHentai 本子的用户脚本,并支持一些镜像站

nHentai Helper

中文说明

GitHub

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

Installation

Via Greasy Fork (login required due to adult content)

Via GitHub Pages

Main features

  • You can download manga 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 manga.
  • For manga list page:
    • Add pjax support. Changing pages will not interrupt downloads.
    • Download queue support.
    • The caption of downloaded manga will be marked with grey color.

preview1

preview2

Settings

settings

  • Download thread
    If you think the download speed is too slow, you can try to increase the number of download threads from this setting.

  • Open on new tab
    Gallery page will be open on a new window by default, turn off it if you don't like it.

  • 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 manga
    • {{japanese}} - Japanese name of manga
    • {{pretty}} - English simple title of manga
    • {{id}} - Gallery ID
    • {{pages}} - Number of pages
    • {{artist}} - Artist tags of manga
      • Maximum number: The default is 3, exceeding will become "various". Can be modify in settings. 0 means infinity.
      • Separator: The default is , . Can be modify in settings.
  • 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 manga, compression output size of 0 and 9 usually differ by less than 1%.

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

  • Auto cancel downloaded manga
    When you are going to download an already downloaded manga, it will be canceled automatically instead of pop-up a confirmation box.

  • Auto retry when error occurs
    Automatically retry when an error occurs, instead of pop-up a confirmation box.

  • Auto show all
    Help you to click the "Show all" button on manga detail page automatically.

  • Show ignore button
    Show an button that allow you to mark or unmark the manga as downloaded.

  • Judge downloaded manga by title
    You can specify the title used to judge whether the manga has been downloaded. If nothing selected, the script will never warn you when a manga has been downloaded.
    Note that Pretty is not available in most mirror sites.

  • Add metadata file
    These metadata files is currently supported:

    If you choose to add ComicInfo.xml, you need to specify the title language (english or japanese).

Advance Settings

  • nHentai download host
    Choose a host for downloading nHentai images. Only available on nHentai.
  • Custom download URL
    WARNING: Please don't set this if you don't know what it does.
    Provide a URL containing the following placeholder:
    • {{mid}} - Media ID
    • {{index}} - Page index, starting from 1
    • {{ext}} - Image file extension
  • Compression "streamFiles"
    Enable this option will use less memory but some program might not support the generated zip file.
    See here for more information.
  • Series mode
    Enable this option will make downloading and compression become series tasks but not parallel to reduce memory usage.
    If RangeError: Array buffer allocation failed occurs frequently, you can try to enable it.
  • Stream download
    Use StreamSaver.js to download zip stream to reduce memory usage.
    But this not work on Safari and Firefox, and the download process is extremely slow. So not recommended unless you really have memory usage issues.
  • Prevent console clearing
    Only available on nHentai official site. It is useful when you need to submit console log for debugging.

Other features

nHentai mirror sites support

This script also support some nHentai mirror sites. See the script's @match and @include.

If the script does not run on some domains, you can add them to User matches.

When you are on a mirror site, a prompt "A userscript wants to access a cross-origin resource" may pop up, please select "Always allow domain" or "Always allow all domain".

connect

Language filter

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

langFilter

100% view height

Effective when reading online, only for mirror sites (now nHentai official site already has this feature).

viewMode

Recommended scripts

  • Super-preloader
    A userscript for auto loading paginated web pages. It will join pages together, which is useful on manga list page.

More Repositories

1

cq-picsearcher-bot

🤖 基于 saucenao / ascii2d / whatanime 的搜图机器人
JavaScript
1,497
star
2

bilibili-live-chat

📽️ 无后端的仿 YouTube Live Chat 风格的简易 Bilibili 弹幕姬
Vue
1,303
star
3

SS-Collection

常用资源汇集,仅个人收集向
JavaScript
778
star
4

pxder

🖼 Download illusts from pixiv.net P站插画批量下载器
JavaScript
732
star
5

nhder

🔞 Download manga from nhentai.net 一个含有语言过滤和智能去重功能的N站本子下载器
JavaScript
203
star
6

magnet2torrent-js

Convert magnet to torrent (independent of third-party services)
JavaScript
173
star
7

genshin-mys-checkin

【蚊子的腿也是肉】原神米游社每日签到,原神微博超话签到、领取礼包、自动推送
JavaScript
104
star
8

cfworker-url-shortener

部署在 Cloudflare Workers 的短网址服务
JavaScript
64
star
9

nhentai-one-key-downloader

一个可以一键下载nhentai本子的纯shell脚本。A pure shell script that can easily download comics from nhentai.
Shell
59
star
10

cfworker-middleware-telegraf

Make telegraf (a telegram bot framework) useable in Cloudflare Workers
JavaScript
58
star
11

vue-flex-waterfall

🌊 A horizontal sorting waterfall layout component for Vue.js, realized by flex layout. 一个使用 flex 布局实现的横向排序瀑布流 Vue 组件
Vue
52
star
12

bww-generator

🖼️ 黑白生草图制作器
Vue
46
star
13

genshin-borderless-launcher

原神窗口全屏启动器
PowerShell
43
star
14

cfworker-telegraf-template

A template for Telegram Bot using telegraf framework on Cloudflare Workers
JavaScript
42
star
15

serverchan-private-letter

一个基于serverchan推送服务的私信发送站点
PHP
38
star
16

pximg-proxy

A reverse proxy service for i.pximg.net
TypeScript
36
star
17

lolicon-api-docs

HTML
26
star
18

uooconline-learner

替你学习
JavaScript
25
star
19

CC-attack-protector

A pure shell script that can protect your VPS under CC attack. 鸟语水平屌差,README还是用中文写吧……
Shell
18
star
20

nhentai-api-js

Unofficial API for nHentai
JavaScript
16
star
21

YuanshenMap

https://gitee.com/blacklotusccw/yuanshenditu 的访问优化版(原版闭源了,本仓库停止更新)
JavaScript
16
star
22

gmwc

Self-use g*****n m*s c*****n
TypeScript
13
star
23

Comment2IFTTT

A Typecho plugin to push new comments to IFTTT Webhooks
PHP
13
star
24

Block-IPs-from-countries

A linux bash script help you block or unblock IPs from countries
Shell
13
star
25

userscript

🖱️ 是……用户脚本
JavaScript
11
star
26

bilibili-qr-login

🔳 哔哩哔哩扫码获取 cookie 网页工具
TypeScript
11
star
27

lolicon.app

CSS
10
star
28

nm

你要我一直🍋吗
HTML
10
star
29

ff14-cn-sign-in

FF14 国服积分自动签到
JavaScript
9
star
30

nhentai-resolver

nhentai resolver based on Node.js 基于nodejs的nhentai本子解析api
JavaScript
7
star
31

crawl-neko

🐱 A lightweight crawler framework with your custom focus. 一个轻量级的可自定义重点的爬虫框架
JavaScript
7
star
32

fuck-qq-with-win10-taskbar-on-top

dddd
PowerShell
6
star
33

pixiv-extensions

Self use Pixiv Chrome extensions
JavaScript
5
star
34

1111Resolver

DNS over Telegram
JavaScript
5
star
35

Tsuk1ko

4
star
36

uooconline-assistant

优课在线自动刷课非作弊脚本
JavaScript
3
star
37

self-use-script

自己没事xjb乱写的给自己用的一些东西
Shell
2
star
38

koa-reverse-proxy

JavaScript
2
star
39

typescript-application-template

Self-use
JavaScript
2
star
40

wol-server

WOL node server
JavaScript
1
star
41

Material-Icons

Achives
1
star
42

cfw

1
star
43

moe-project

There are resources of my moe-project.
JavaScript
1
star
44

szu-board-spider

深大公文通超简易爬虫
JavaScript
1
star
45

dblp-xml-spider

DBLP论文信息XML简易爬虫
JavaScript
1
star
46

postversion

Self-use npm postversion script
JavaScript
1
star
47

Mips-Highlight-for-Sublime

Sublime用的Mips语法高亮,依赖于ARM Assembly插件
1
star