e-hentai Plus

Infinite scroll & reader mode with image prefetch and floating controls for E-Hentai / ExHentai

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey, το Greasemonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

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

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Userscripts για να εγκαταστήσετε αυτόν τον κώδικα.

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

Θα χρειαστεί να εγκαταστήσετε μια επέκταση διαχείρισης κώδικα χρήστη για να εγκαταστήσετε αυτόν τον κώδικα.

(Έχω ήδη έναν διαχειριστή κώδικα χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Έχω ήδη έναν διαχειριστή στυλ χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

Δημιουργός
Leovikii
Ημερήσιες εγκαταστάσεις
21
Σύνολο εγκαταστάσεων
740
Βαθμολογίες
1 0 0
Έκδοση
2.4.0
Δημιουργήθηκε την
09/02/2026
Ενημερώθηκε την
07/03/2026
Μέγεθος
60 KB
Άδεια
MIT
Εφαρμόζεται σε

E-Hentai Plus

Enhanced reading experience for E-Hentai / ExHentai with infinite scroll, full-screen reader, and smart image loading.

中文

Features

  • Scroll Mode Toggle — Enable for infinite scroll with auto next-page loading; disable to keep the original gallery layout untouched
  • Reader Mode — Full-screen single-image viewer with keyboard, mouse wheel, scrollbar, and thumbnail panel navigation
  • Auto Play — Slideshow with configurable interval, auto-skips failed images
  • Bidirectional Page Loading — Load next/previous pages seamlessly in both scroll and reader mode
  • Smart Image Loading — Concurrent request queue, exponential backoff retry, rate limit detection, and URL caching
  • Error Recovery — Retry button on failed images in both scroll mode and reader mode

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/e-hentai-plus.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