better_drunkenslug_xxx_previews

Better Thumbnail preview for drunkenslug xxx with Hover zoom, gallery view, Ctrl-hover lightbox, click-to-add-to-cart, configurable keyword filters, and session-based new post highlighting

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 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!)

Аўтар
domianx
Усталяванняў за дзень
0
Усяго ўсталяванняў
5
Рэйтынг
0 0 0
Версія
2.6.1
Створаны
26.12.2025
Абноўлены
04.01.2026
Памер
69.0 КБ
Ліцэнзія
MIT
Ужываецца на

better_drunkenslug_xxx_previews

Short blurb

Better Thumbnail preview for DrunkenSlug — Hover zoom, responsive gallery (G), Ctrl‑hover full preview, and click‑to‑add‑to‑cart. Preferences persisted via localStorage.

Minimal metadata header (paste at top of your script)

// ==UserScript==
// @name         better_drunkenslug_xxx_previews
// @namespace    https://github.com/<your-username>/better-drunkenslug-previews
// @version      2.4.8
// @description  Better Thumbnail preview for drunkenslug xxx with Hover zoom, gallery view, Ctrl-hover lightbox, click-to-add-to-cart, and configurable keyword filters
// @author       takuto
// @match        https://drunkenslug.com/*
// @grant        none
// @run-at       document-idle
// @license      MIT
// ==/UserScript==

Short installation & usage

  • Install a userscript manager (Tampermonkey/Violentmonkey).
  • On Greasy Fork: create a new script, paste the metadata + code, and publish.
  • Usage highlights:
    • Toggle gallery: bottom-right Gallery button or press G
    • Toggle hover previews: in Config panel (checkbox)
    • Hide items without pictures: in Config panel (checkbox, enabled by default)
    • Hold Control while hovering to open full preview; click preview to add to cart
    • Navigate pages: press Left/Right arrow keys to jump to the previous/next page (ignored while typing in inputs)

Quick test checklist

  • Script activates when t query param is 6000–6999 or on /search paths.
  • Hover previews toggle persists (ebdsHoverEnabled).
  • Hide-without-pictures toggle persists (ebdsHideWithoutPictures, default on).
  • Press G opens/closes gallery and sets ebdsGalleryOpen.
  • Press Left/Right arrow keys to navigate to previous/next page; verify navigation does nothing while an input/textarea is focused. (If gallery is open, gallery state should persist across navigation.)
  • Ctrl‑hover opens lightbox and clicking adds to cart (site click or fallback POST).
  • Inline previews show thumbnails (if available), enlarged previews show full images.
  • Only one preview per row, preferring thumbnails over previews.

Changelog

  • 2025-12-26 — v2.4.8

    • Hide-without-pictures now only hides actual release rows (guid/cart/nzbs checkbox) and still skips nzb_multi_operations.
  • 2025-12-26 — v2.4.7

    • Moved toggles to the top of the Config panel and exempted nzb_multi_operations rows from the hide-without-pictures filter.
  • 2025-12-26 — v2.4.6

    • Added a Config toggle to hide items without pictures (enabled by default), replacing the prior inverted behavior.
  • 2025-12-26 — v2.4.5

    • Added a Config toggle to hide items that have pictures (superseded by v2.4.6).
  • 2025-12-26 — v2.4.4

    • Shifted the Config panel higher (anchored near the top-right under the Config button).
  • 2025-12-26 — v2.4.3

    • Moved the Config button to the upper-right corner and hide it while the Gallery is open.
  • 2025-12-26 — v2.4.2

    • Moved the Gallery button to the bottom-right corner.
    • Positioned the Config button on the right side of the screen (mid-height) as a floating control.
  • 2025-12-26 — v2.4.1

    • Moved the Gallery button to the bottom center for easier reach.
    • Right-aligned the Config button when placed in the top bar (still falls back to top-right floating).
  • 2025-12-26 — v2.4

    • Moved the hover-preview toggle into the Config panel and removed the floating button.
    • Placed the Config button into the top navigation bar when available (fallback to a floating top-right button).
  • 2025-12-26 — v2.3.1

    • Fixed a regression where updating keyword filters could hide all rows.
  • 2025-12-26 — v2.3

    • Added a floating Config panel to manage keyword filters for hiding rows (persisted in localStorage).
    • Row filtering is now non-destructive (rows are hidden, not removed) so removing a keyword brings items back without reloading.
  • 2025-12-26 — v2.2

    • Enabled script activation for /search paths in addition to the t query parameter condition.
    • Modified preview logic to prefer thumbnails: inline previews now display thumbnail images (if available), while enlarged previews show full images.
    • Ensured only one preview per table row, prioritizing links containing thumbnail images.
    • Updated README metadata, description, and test checklist to reflect changes.
  • 2025-12-26 — v2.1

    • Added keyboard navigation: Left/Right arrow keys now jump to previous/next pages (works with site pagination and gallery-cloned pagination).
    • Improved keyboard focus handling: keyboard shortcuts (e.g., G) are now ignored when any element other than the page body is focused, so typing in the search won't trigger shortcuts.
    • Updated README to document the new shortcuts and test checklist.

tags & license

  • Tags: gallery, preview, hover, lightbox, userscript, drunkenslug, cart
  • License: MIT