e-hentai Plus

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

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

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

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
Leovikii
今日安裝
17
安裝總數
60
評價
0 0 0
版本
2.3.0
建立日期
2026-02-09
更新日期
2026-02-11
尺寸
46.7 KB
授權條款
MIT
腳本執行於

E-Hentai Plus

Enhanced continuous reading mode for E-Hentai / ExHentai with floating controls and ultra-fast loading.

Features

  • Scroll Mode — Infinite scroll with automatic next-page loading and image prefetching
  • Reader Mode — Full-screen single-image viewer with keyboard, mouse wheel, and scrollbar navigation
  • Auto Play — Automatic image slideshow with configurable interval
  • Skeleton Placeholder — Pulse animation placeholder for images still loading
  • Floating Controls — Compact floating button group: reader mode toggle, auto-play, and settings
  • Settings Panel — Toggle auto scroll, show/hide controls, auto-enter reader mode, and adjust play interval
  • Menu Commands — Tampermonkey menu integration for quick setting toggles
  • Image Prefetch — Background prefetching of next page images for seamless browsing

Installation

  1. Install Tampermonkey browser extension
  2. Install the userscript from Sleazy Fork or Github release ## Build from Source
# Install dependencies
npm install

# Development mode (with hot reload)
npm run dev

# Production build
npm run build

The built userscript will be at dist/e-hentai-plus.user.js.

Tech Stack

  • TypeScript — Strict mode enabled
  • Vite + vite-plugin-monkey — Build toolchain for Tampermonkey userscripts
  • UnoCSS — Atomic CSS engine

Project Structure

src/
├── main.ts                    # Entry point
├── menu-commands.ts           # GM_registerMenuCommand registration
├── types/
│   └── index.ts               # Shared type definitions
├── state/
│   ├── config.ts              # Constants and settings loader
│   └── store.ts               # Centralized state management
├── utils/
│   ├── dom.ts                 # DOM utility functions
│   └── icons.ts               # SVG icon constants
├── services/
│   ├── page-parser.ts         # Page parsing (total pages, next URL)
│   ├── image-loader.ts        # Image loading with retry
│   └── prefetch.ts            # Next page prefetching
├── ui/
│   ├── styles.css             # Component styles
│   ├── float-control.ts       # Floating control buttons
│   ├── settings-panel.ts      # Settings panel UI
│   └── single-page/
│       ├── overlay.ts         # Reader mode overlay
│       ├── scrollbar.ts       # Custom scrollbar
│       ├── 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