☰

NHentai Custom Brew

Add customizable favorites and many other features and improvements for nHentai. Also adds API request caching to reduce the frequency of rate limits.

Du musst eine Erweiterung wie Tampermonkey, Greasemonkey oder Violentmonkey installieren, um dieses Skript zu installieren.

Um dieses Skript zu installieren, müssen Sie eine Erweiterung wie Tampermonkey oder Violentmonkey installieren.

Um dieses Skript zu installieren, müssen Sie eine Erweiterung wie Tampermonkey oder Violentmonkey installieren.

Um dieses Skript zu installieren, müssen Sie eine Erweiterung wie Tampermonkey oder Userscripts installieren.

Um dieses Skript zu installieren, müssen Sie eine Erweiterung wie Tampermonkey installieren.

Sie müssten eine Skript Manager Erweiterung installieren damit sie dieses Skript installieren können

(Ich habe schon ein Skript Manager, Lass mich es installieren!)

Um dieses Design zu installieren, müssen Sie eine Erweiterung wie Stylus installieren.

Um dieses Design zu installieren, müssen Sie eine Erweiterung wie Stylus installieren.

Um dieses Design zu installieren, müssen Sie eine Erweiterung wie Stylus installieren.

Um diesen Stil zu installieren, müssen Sie eine Erweiterung für den Benutzerstil Verwaltung installieren.

Um diesen Stil zu installieren, müssen Sie eine Erweiterung für den Benutzerstil Verwaltung installieren.

Um diesen Stil zu installieren, müssen Sie eine Erweiterung für den Benutzerstil Verwaltung installieren.

(Ich habe bereits einen Benutzerstil Verwaltung, ich möchte ihn installieren!)

Autor
FB6000
Installationen heute
0
Installationen gesamt
45
Bewertungen
0 0 0
Version
8.0
Erstellt am
30.06.2026
Letzte Aktualisierung
04.12.2026
Größe
583 KB
Lizenz
MIT
Wird angewandt auf

NHentai Custom Brew

Custom Brew is a script that adds many features and improvements to nhentai.net. It's key feature is customizable favorites which let you keep a list of favorite galleries that is DMCA resistant. No more worrying about your favorite gallery getting removed without you knowing. It also includes many other features like API caching (reduce rate limits), read later, browse later, tracking read galleries, searching on custom pages, and more.

Current Features

  • Customizable Favorites
    • Keep a DMCA resistant list of favorite galleries
    • Give ratings
    • Change the title
    • Add notes
    • Change the cover image
    • Labels for sorting
    • Add alt sources
  • Reduce rate limits
    • Caches API request to prevent duplicate requests
    • Reduces the number of API request the website makes to prevent hitting the rate limit
    • Supports API key to increase the allowed number of requests before limiting
    • Auto refreshes the page if a rate limit was reached and blocked the page from loading
  • Track Read and Seen galleries
    • Multiple options for Read status: Read, Liked, or Passed
  • Track browsed tags
  • Read Later
    • Add galleries to a Read Later list
    • Give a priority
    • Labels for sorting
  • Browse Later
    • Add tags to a Browse Later list
    • Give a priority
    • Labels for sorting
    • Give a description so you remember why
  • Tag Sentiments
    • Mark a tag as liked, dubious, or scorned
    • Highlight tags based on sentiment
  • QOL Improvements for searching
    • English only search button
    • Search for tag without the pipe
    • Bypass the waiting or agreement to see tag suggestions
    • Copy tag search term by clicking on the tag
  • Searching on custom pages
    • Functional search with auto-completion and suggestion so you can easily search favorites or read later
    • Filter by tags, labels, rating, and more
  • Auto Player
    • Use to automatically go to next page of a gallery after a set amount of time
    • Read a gallery hands free
    • Time is adjustable
  • Info Badge
    • Displays a variety of info about the gallery
      • Page Count
      • Artist Info (is Browse Later, Tag Sentiment, is Anthology, is Compilation)
      • Bad Translation (conditions are customizable)
      • Gallery WIP/Incomplete
  • Content Warning Badge
    • Get a warning for a galleries content based on tags
    • Customizable
  • Extra gallery info
    • Date Read/Liked/Passed
    • Date favorited
    • Rating and more
  • Auto Login
    • Save login info to have it auto fill for you
    • Set to auto login or just auto fill login info
  • Auto Fill Age Gate
    • No longer have to fill out the Age Gate every time when visiting the website in incognito mode.
  • Condense navigation bar links for tags
  • Jump to Page on any page with page numbers (click on the ellipsis ("..."))
  • Arrow Key navigation for pages with multiple pages of results
  • Properly label galleries with multiple languages
  • Other minor UI fixes for the website
  • 404 Recovery page
    • When a saved gallery is removed by nHentai, you will still be able to visit the page and see its info
  • Settings
    • Backup and import
    • Enable and disable features
    • Settings for everything

Preview Images

Customization

Browsing Changes

Gallery Changes

Custom Pages

(Looks slightly different as of v7, picture is from v6)
Favorites and Read Later include a functional search (with auto completion) to easily filter your collection!

Lots of Settings

(Picture is from v1, settings get added all the time, I won't keep posting updated pictures)

+ Even more settings than what's shown

Planned Features

Note: These are post-release features that may come eventually.

  • Under the hood improvements
  • Even more gallery info
  • Collections
    • Add custom favorites to collections
    • Use it to show that it is part of series
    • Easily see which other galleries are part of the series
  • Browse Mode
    • Easily view galleries to decide if you want to read them now or read later
  • Gallery Preview
    • Take a peek at some pages
  • More customization
  • Visual Improvements
  • Backup reminders
  • Auto Backup

Heads up: this script includes a monkey patch

TLDR: Sketchy code used for legitimate purpose. It is used to reduce the number of API calls to prevent being rate limited.

Why the monkey patch:

Short answer: API rate limits so small

Long answer:

This script makes requests to the API, but the website itself also makes the exact same request to the API. Both of these request count towards the rate limit for the API. Meaning by using the script, your rate limits are cut in half (if it didn't have the monkey patch). This is made worse because the website does not cache anything. So for something like search, you have an effective limit of 5 requests per min. If you use make a search, go the next page, and then use the back and forward browser buttons, the website makes the exact same requests until you hit the rate limit. So I wanted to fix that while also piggybacking off the API request the website makes.

What the monkey patch does:

  • The monkey patch intercepts all fetch requests made by the website. This is limited to fetch request made in code.
  • It then reads the url of the request to check if it is a rate limited and cacheable API endpoint.
  • If so, it checks the cache first.
  • If there is no cache, it sends the request out as normal and then caches and returns the response.
  • If there is a cache, it stops the request from being sent and instead returns the cached response.
  • In some edge cases, it will upgrade the request to ask for all the optional data to prevent cache miss on a request that asks for less info than the one before it.

Why this could be bad:

  • This could be used to spy on you or steal login info.
    • However, that is the case for all programs, extensions, and tamper monkey scripts. So it's not a real issue.
  • The use of unsafeWindow could lead to security problems. It could be used by someone who has access to the page's code to do bad stuff.
    • I don't see this as an issue either since it requires code access which means they could already do bad stuff.
  • It could be used by the website to hijack the script.
    • But why tho.
  • Can interfere with other scripts
    • This is probably the only real concern. If another script uses fetch in an unusual way, then it could break it.

Overall, it is something to keep in mind but I don't think presents a practical security risk. Still, in some odd cases, it can interfere with other scripts ability to function.