Gelbooru sort by hotkeys

This script allows you to automatically fill a search input with predefined keywords and trigger the search button using keyboard shortcuts.

Author
Peepo
Daily installs
0
Total installs
1
Ratings
0 0 0
Version
1.1
Created
2025-09-05
Updated
2025-09-05
Size
1.68 KB
License
MIT
Applies to

Sort by Hotkeys

Description

This Tampermonkey userscript allows you to quickly sort search results on Gelbooru using keyboard shortcuts. Instead of manually typing sorting keywords, you can press a hotkey to automatically fill the search input with predefined keywords and trigger the search.

Features

  • Press R to sort results randomly (sort:random).
  • Press S to sort results by score (sort:score).
  • Automatically replaces existing sorting keywords if already present.

Usage

  • Focus anywhere on the page except input fields or textareas.
  • Press the designated hotkeys:
    • R → Random sort
    • S → Sort by score

The search input will update automatically, and the search button will be triggered.