☰

Rule34.xxx Video Previews

Preview video posts automatically or by keyboard shortcut when hovered over a thumbnail

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

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

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

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

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

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

(I already have a user script manager, let me install it!)

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.

(I already have a user style manager, let me install it!)

Author
SassyRhombus
Daily installs
0
Total installs
79
Ratings
0 0 0
Version
2.1.0
Created
2026-08-03
Updated
2026-08-03
Size
11.1 KB
License
0BSD
Applies to

Plays a post's video in place of its thumbnail on list pages (search, posts index, favorites), activated by mouse hover or a hotkey.

A full independent reimplementation; the hover-preview concept originated in Zeus's "Rule34 Preview Videos" 0.2 (MIT).

Activation

Two mutually exclusive modes, switched at runtime from the userscript menu:

  • Hover (default): resting the pointer on a video thumbnail for hover_delay (500 ms default) loads and plays the preview; leaving the thumbnail pauses and hides it.
  • Hotkey: pressing the keybind (p default, unmodified) while hovering a video thumbnail toggles its preview. Ignored while a text field, editable element, or search box has focus.

Menu commands

Command Effect
Enable/Disable hotkey activation Switch between hover and hotkey mode
Enable/Disable auto-mute Whether previews start muted
Enable/Disable video controls Whether previews render native controls

Settings

Key Default Purpose
start_muted true Previews start muted
hover_delay 500 ms of hover before a preview loads
prefer_hotkey false Hotkey mode instead of hover mode
custom_keybind p Hotkey mode key
controllable true Render native video controls
video_cdn https://api-cdn-mp4.rule34.xxx Video host
image_server https://us.rule34.xxx Poster image host
init_delay 1000 ms to wait before scanning thumbnails

Compatibility

Coexists with Rule34 Enhanced Dark Gallery's masonry layout

Implementation Detail

Works anonymously. When logged in and no CDN is configured, the account options page is scraped once to pick the video CDN matching the account's region; otherwise the default CDN is used.

The video overlays the thumbnail inside its anchor — absolutely positioned and toggled with opacity — so the grid never reflows and no mouse events fire prematurely.

Videos loop, preload metadata only, and are created lazily on first activation. Auto-mute must stay on for autoplay to work without prior user interaction with the site (browser policy).

init_delay exists to let masonry layout scripts settle before thumbnails are scanned. An unrecognized thumbnail path logs a console warning rather than failing silently.