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.

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
Peepo
Daily installs
0
Total installs
3
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.