Exhentai Enhancer

improve UX of Gallery Page, Multi-Page Viewer and Front Page

Author
skink
Daily installs
8
Total installs
412
Ratings
1 0 0
Version
1.7.2
Created
2022-09-17
Updated
2023-01-22
License
MIT
Applies to

ExHentai Enhancer

See github for latest update & change log.

How to use

  1. Install TamperMonkey to your browser.
  2. Install ExHentai Enhancer.

Gallery Enhancer

works when:

  1. url match https://e(x)hentai.org/g/*/*
  2. settings -> Front Page Settings -> check Thumbnail

Features

  1. Load all images sequentially if the there are more than one page.
    *Could disable by unticking Enable auto redirect to Multi-Page Viewer in tampermonkey menu

  2. Show pop-up in same page instead of window popup when click Archive Download or Torrent Download.
    *Could disable by unticking Enable better download popup in tampermonkey menu

  3. Download torrent directly if there is only 1 torrent.
    *Could disable by unticking Enable better download popup in tampermonkey menu

  4. Go to next/prev row if mouse wheel on images container.
    *Could disable by unticking Enable scroll per row in tampermonkey menu

Multi-Page Viewer Enhancer

works on:

  1. url match https://e(x)hentai.org/mpv/*/*
  2. settings -> Multi-Page Viewer -> Always use the Multi-Page Viewer? -> Yup
    *Could disable all featuingres by untick Enable Multi-Page Viewer enhancer in tampermonkey menu

Features

  1. Append current index & page count to image info.

  2. Show thumbs when mouse close to/hover thumbs(remember to open thumbs in settings).

  3. Page elevator.

  4. Images resizer (Currently 100%, 125%, 150%, 175%, 200% of browser height).

  5. Rotate image.

  6. Auto redirect to Multi-Page Viewer if in Single-Page Viewer(url match https://exhentai.org/s/*/*)
    *(Could disabled from youingr tampermonkey menu - Enable auto redirect to Multi-Page Viewer)*

Front Page Enhancer

works on:

  1. url match
    https://e(x)hentai.org/?* or
    https://e(x)hentai.org/(watched|popular)?* or
    https://e(x)hentai.org/tag/*

  2. settings -> Front Page Settings -> check Thumbnail

Features

  1. Load galleries next page when scroll to bottom of page.
    *Could disable by unticking Enable infinite scroll in Front page in tampermonkey menu

  2. Go to next/prev row if mouse wheel on images container.
    *Could disable by unticking Enable scroll per row in tampermonkey menu

    Shortcuts

Key / Mouse Feature
left click Go to next page.
numpad 3 Go to next page.
numpad 6 Go to next page.
space Go to next page.
mouse wheel up (when hovering enhancer) Go to next page.
right click Go to previous page.
numpad 1 Go to previous page.
numpad 4 Go to previous page.
backspace Go to previous page.
mouse wheel down (when hovering enhancer) Go to previous page.
ctrl + Go to next 10 page.
ctrl + Go to previous 10 page.
ctrl + 1~5 Set current size of image resizer to 100%/125%/150%/175%/200%.
numpad + Increase current size of image resizer (set to 100% if not set yet).
numpad - Decrease current size of image resizer (set to 200% if not set yet).
numpad 0 Set current size of image resizer to smallest size (currently 100%).
numpad . Set current size of image resizer to middle size (currently 150%).
numpad enter Clear current size of image resizer (to original size).
numpad 8 Scroll to top of current image.
numpad 5 Scroll to middle of current image.
numpad 2 Scroll to bottom of current image.
numpad 7 Rotate the image by -90 degree.
numpad 9 Rotate the image by 90 degree.
Key F Toggle full screen.
Key R Reload current image.

Demo:

### Gallery Enhancer

Archive download success

Archive download failed

If there is only 1 torrent, download directly

If there are multiple torrents, show popup

Scroll step by row on images container

### Multi-Page Viewer Enhancer

Page elevator

Image resizer

Keyboard shortcuts for image resizer

Keyboard shortcuts for scroll to top/middle/bottom of current image

Show thumbs when hover

Rotate image

Go to next/previous 10 page by ctrl + → ctrl + ←

Development

Debug

  1. pnpm dev
  2. install the script that pop-up on your browser.

Build & Install your own script

  1. pnpm build
  2. drag dist/exhentai-enhancer.user.js to your browser to install the script.