Hentai Reader

A generalized multi-site reading framework. Provides an enhanced reading experience with infinite scroll, full-screen reader mode, and smart image loading for E-Hentai, 18comic, 4KHD, etc.

Voor het installeren van scripts heb je een extensie nodig, zoals Tampermonkey, Greasemonkey of Violentmonkey.

Voor het installeren van scripts heb je een extensie nodig, zoals {tampermonkey_link:Tampermonkey}.

Voor het installeren van scripts heb je een extensie nodig, zoals Tampermonkey of Violentmonkey.

Voor het installeren van scripts heb je een extensie nodig, zoals Tampermonkey of Userscripts.

Voor het installeren van scripts heb je een extensie nodig, zoals {tampermonkey_link:Tampermonkey}.

Voor het installeren van scripts heb je een gebruikersscriptbeheerder nodig.

(Ik heb al een user script manager, laat me het downloaden!)

Voor het installeren van gebruikersstijlen heb je een extensie nodig, zoals {stylus_link:Stylus}.

Voor het installeren van gebruikersstijlen heb je een extensie nodig, zoals {stylus_link:Stylus}.

Voor het installeren van gebruikersstijlen heb je een extensie nodig, zoals {stylus_link:Stylus}.

Voor het installeren van gebruikersstijlen heb je een gebruikersstijlbeheerder nodig.

Voor het installeren van gebruikersstijlen heb je een gebruikersstijlbeheerder nodig.

Voor het installeren van gebruikersstijlen heb je een gebruikersstijlbeheerder nodig.

(Ik heb al een beheerder - laat me doorgaan met de installatie!)

Maker
Leovikii
Dagelijks aantal installaties
23
Totaal aantal installaties
2.204
Beoordelingen
2 0 0
Versie
3.0.0
Gemaakt op
09-02-2026
Bijgewerkt op
17-06-2026
Grootte
106 KB
Licentie
MIT
Wordt toegepast op

Hentai Reader (Formerly E-Hentai Plus)

A generalized multi-site reading framework upgraded from E-Hentai Plus. It provides an enhanced reading experience with infinite scroll, full-screen reader mode, and smart image loading.

Currently supported websites (with more to come):

  • E-Hentai / ExHentai
  • 18comic
  • 4KHD

中文

Features

  • Infinite Scroll Mode — Seamlessly converts multi-page galleries into a continuous vertical scroll with auto-prefetching. Intelligently preserves native page metadata (e.g., tags, titles, comments). Features real-time reloading upon toggling.
  • Immersive Reader Mode — A distraction-free, full-screen single-page viewer. Navigate effortlessly via keyboard, mouse wheel, or screen clicks, augmented by a built-in thumbnail sidebar for quick jumping.
  • Ultra-Smooth Performance Engine — Utilizes smart memory management and low-level DOM virtualization to automatically unmount off-screen elements. Guarantees a stable 60 FPS scrolling experience without memory overflow, even when loading thousands of high-resolution images.
  • High-Efficiency 18comic Decoding Engine (New) — Engineered with a pioneering HTML5 hardware-accelerated decoding and rapid JPEG reconstruction algorithm, specifically designed to bypass 18comic's image scrambling while drastically reducing CPU load and preventing browser freezes.
  • Smart Anti-Blocking (New) — Features an intelligent domain feature matching and redirection follower for sites like 4KHD that frequently alter their domains, ensuring uninterrupted script functionality.
  • Error Recovery — Equipped with a robust auto-retry mechanism for failed image loads, along with a floating visual indicator for monitoring progress and manual reloading.
  • Auto Play — Enjoy an adjustable slideshow mode for a hands-free reading experience.

Installation

  1. Install Tampermonkey browser extension
  2. Install the userscript from Sleazy Fork or Github release

Build from Source

npm install
npm run dev    # Development (hot reload)
npm run build  # Production

Output: dist/hentai-reader.user.js

Tech Stack

  • TypeScript + Vite + vite-plugin-monkey
  • UnoCSS

Project Structure

src/
├── main.ts                    # Entry point
├── menu-commands.ts           # Tampermonkey menu commands
├── types/index.ts             # Type definitions
├── state/
│   ├── config.ts              # Constants and settings
│   └── store.ts               # Centralized state
├── utils/
│   ├── dom.ts                 # DOM utilities
│   └── icons.ts               # SVG icons
├── services/
│   ├── page-parser.ts         # Page URL and range parsing
│   ├── image-loader.ts        # Image loading with retry and cache
│   ├── request-queue.ts       # Concurrent request queue
│   └── prefetch.ts            # Next page prefetching
├── ui/
│   ├── styles.css             # Styles
│   ├── float-control.ts       # Floating controls
│   ├── settings-panel.ts      # Settings panel
│   └── single-page/
│       ├── overlay.ts         # Reader mode overlay
│       ├── scrollbar.ts       # Scrollbar with thumbnail panel
│       ├── thumbnail-panel.ts # Virtual-scrolling thumbnails
│       ├── navigation.ts      # Keyboard/wheel/click navigation
│       └── auto-play.ts       # Auto-play logic
└── features/
    ├── scroll-mode.ts         # Infinite scroll mode
    └── single-page-mode.ts    # Reader mode facade

License

MIT