Exhentai Enhancer

improve UX of Gallery Page & Multi-Page Viewer

As of 2022-12-20. See the latest version.

Author
skink
Ratings
0 0 0
Version
1.4.7
Created
2022-09-17
Updated
2022-12-20
License
MIT
Applies to

See Github for latest update

ExHentai Enhancer

How to use

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

Gallery Enhancer

available when

  1. url match https://exhentai.org/g/*/*
  2. settings -> Front Page Settings -> check Thumbnail

features

  • Load all images sequentially if the number of images is more than 200.
  • Show pop-up in same page instead of window popup when click Archive Download or Torrent Download.
  • Download torrent directly if there is only 1 torrent.
  • Go to next/prev row if mouse wheel on images container.

Multi-Page Viewer Enhancer

available when

  1. url match https://exhentai.org/mpv/*/*
  2. settings -> Multi-Page Viewer -> Always use the Multi-Page Viewer? -> Yup

features

  • Append current index & page count to image info.
  • Show thumbs when mouse close to/hover thumbs(remember to open thumbs in settings).
  • Add page elevator.
  • Add images resizer (Currently 100%, 125%, 150%, 175%, 200% of browser height).

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 (100% if not set yet).
numpad - decrease current size of image resizer (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.
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

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.