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.

Dovrai installare un'estensione come Tampermonkey, Greasemonkey o Violentmonkey per installare questo script.

You will need to install an extension such as Tampermonkey to install this script.

Dovrai installare un'estensione come Tampermonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Userscripts per installare questo script.

Dovrai installare un'estensione come ad esempio Tampermonkey per installare questo script.

Dovrai installare un gestore di script utente per installare questo script.

(Ho già un gestore di script utente, lasciamelo installare!)

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

(Ho già un gestore di stile utente, lasciamelo installare!)

Autore
Leovikii
Installazioni giornaliere
22
Installazioni totali
2.207
Valutazione
2 0 0
Versione
3.0.0
Creato il
09/02/2026
Aggiornato il
17/06/2026
Dimensione
106 KB
Licenza
MIT
Applica a

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