Danbooru Enchanced Gallery

Overhauls Danbooru's default gallery view with a sleek, responsive justified grid layout. Includes high-res thumbnails, hover previews, overlay actions, and more.

Чтобы установить этот скрипт, вы сначала должны установить расширение браузера, например Tampermonkey, Greasemonkey или Violentmonkey.

Для установки этого скрипта вам необходимо установить расширение, такое как Tampermonkey.

Чтобы установить этот скрипт, вы сначала должны установить расширение браузера, например Tampermonkey или Violentmonkey.

Чтобы установить этот скрипт, вы сначала должны установить расширение браузера, например Tampermonkey или Userscripts.

Чтобы установить этот скрипт, сначала вы должны установить расширение браузера, например Tampermonkey.

Чтобы установить этот скрипт, вы должны установить расширение — менеджер скриптов.

(у меня уже есть менеджер скриптов, дайте мне установить скрипт!)

Чтобы установить этот стиль, сначала вы должны установить расширение браузера, например Stylus.

Чтобы установить этот стиль, сначала вы должны установить расширение браузера, например Stylus.

Чтобы установить этот стиль, сначала вы должны установить расширение браузера, например Stylus.

Чтобы установить этот стиль, сначала вы должны установить расширение — менеджер стилей.

Чтобы установить этот стиль, сначала вы должны установить расширение — менеджер стилей.

Чтобы установить этот стиль, сначала вы должны установить расширение — менеджер стилей.

(у меня уже есть менеджер стилей, дайте мне установить скрипт!)

Автор
orx ibx
Установок в день
0
Всего установок
15
Оценки
0 0 0
Версия
1.54
Создано
20.07.2025
Обновлено
03.09.2025
Размер
67,8 КБ
Лицензия
MIT (https://opensource.org/licenses/MIT)
Работает на

I was sick of looking at Danbooru's hideous outdated gallery layout so I finally decided to fix it myself.

I'm not a real web developer, so I vibe coded the whole script with Claude, using Miro’s Justified Gallery library.

Sharing it here in case anyone else finds it useful.


Screenshots

Justified Grid Layout:

gallery

Without sidebar:

gallery-nosidebar

Hover preview:

hover-preview

Overlay tooltip:

overlay-tooltip


Features:

  • Justified Grid:
    Replaces the default gallery layout with a sleek, responsive justified grid.

    Looks best with higher browser zoom levels (150%+).

  • Higher-Res Thumbnails:
    Loads higher res images for thumbnails.

    (Note: these aren’t full-res, but downscaled samples to keep loading fast.)

  • Hover Preview:
    Hovering over a post shows a higher-res preview.

    (Can be toggled on or off with an on-screen button.)

  • Thumbnail Overlay:
    Displays an overlay on thumbnails with vote counts, vote/favorite buttons, and an info button (🛈). Clicking the info button opens the full sidebar for the post, showing its tags, artist, etc. The overlay appears when you hover over the thumbnail.

  • Wide Search Bar:
    Relocates the search bar to the top of the gallery and expands it across the full width for easier access.


Usage Tips:

  • You can tweak the gallery’s look via the JG_CONFIG object on top of the script.
    Other features can be toggled or adjusted through the CONFIG object.

  • If the gallery gets buggy or stuck, try hitting the "🔄" button next to the “Posts” label to reset the gallery.
    You can also add reset triggers to other elements by appending their selectors to the JG_RESET_SELECTORS array.

  • The script hides the sidebar by default on gallery pages, you can disable this via the enableHiddenSidebar property setting in CONFIG.

  • For a smoother experience, I recommend using it alongside this Infinite Scroll userscript:
    https://sleazyfork.org/en/scripts/5250-unlimited-paginator-works

  • If you want to preview full resolution images, i recommend using the Hover Zoom+ extension:
    https://chromewebstore.google.com/detail/hover-zoom+/pccckmaobkjjboncdfnnofkonhgpceea?hl=en

Heads up:
This script restructures the gallery’s HTML layout, so some of your other userscripts may not work well.

Justified Gallery library docs:
https://miromannino.github.io/Justified-Gallery