Rule34 Favorites Search Gallery

Search, View, and Play Rule34 Favorites (Desktop/Androiod/iOS)

Автор
bruh3396
Щоденних встановлень
5
Всього встановлень
309
Рейтинги
8 0 1
Версія
1.17.7
Створено
19.08.2024
Оновлено
17.12.2024
Сумісність
Сумісний з Firefox Сумісний з Chrome Сумісний з Opera Сумісний з Safari Сумісний з Edge
Ліцензія
Н/Д
Відноситься до

Rule34 Favorites Search Gallery

Github Repository

About

Favorites Search by MegaMoo77 stopped working some time ago
I couldn't find a suitable replacement, so I created my own adaptation including a gallery and some QOL features
This script is still in development, please let me know if you experience a bug, or have a question/feature request

Preview

Getting Started

  1. Install Tampermonkey
  2. Install this script using Tampermonkey
  3. Go to any favorites page, it should end with: index.php?page=favorites&s=view&id=<ID>
  4. Enjoy

Features

  • Search favorites with the the same syntax as the normal search pages (including meta tags):
  • View full resolution images, or play videos and GIFs in a gallery (also works on search pages)
  • Autocompleted tag search
  • Remove favorites without reloading page
  • Add favorites from other users' favorites pages
  • Only wait on fetching once
    • Favorites are stored in a client database after fetching them for the first time
    • Allows for quick loading anytime later
  • Add custom or existing tags to favorites
    • Allows for complex tags and grouping (essentially folders)
    • Does not actually add tags to the post associated with a favorite (all changes are local)
    • Original tags of favorite cannot be altered
  • Save custom searches
  • Shuffle search results
  • Invert search results
  • Exclude results with blacklisted tags
  • Search by post ID
  • See tooltip showing which tags were matched by the last search
  • Click overlay of tags related to favorite to add them to the search box
  • Look at other user's favorites with the above features (blacklisted tags are automatically hidden)
  • Sort by score, width, height, rating, id, date uploaded, or date changed
  • Filter by rating: safe, questionable, explicit, or any combination of the three
  • Add/Remove favorites while in gallery
  • Redirect to original images in new tabs

Recommended Specs:

Metric Recommended
Memory 8GB
Video Memory 4GB
Download Speed 75Mb/s

Controls

General Controls

Input Function Condition
Left Click, Touch Enlarge thumbnail content and enter gallery Clicked on a thumbnail
Middle Click Open post page of thumbnail in new tab Clicked on a thumbnail
Ctrl Left Click Open original content in new tab and stay on current tab Clicked on a thumbnail
Ctrl Shift Left Click Open original content in new tab and move to new tab Clicked on a thumbnail
Middle Click Toggle "Enlarge on Hover" option Did NOT click on a thumbnail or tag in details
Scroll Wheel Change background opacity Cursor hovering over thumbnail with "Enlarge on Hover" enabled
Shift + Scroll Wheel Change column count
Left Click Add tag to search Clicked on a tag in details
Right Click Add negated tag to search Clicked on a tag in details
Middle Click Quick search tag Clicked on a tag in details
Ctrl Left Click Search site for tag in new tab Clicked on a tag in details

Gallery Controls

Input Function Condition
Arrow Keys, Scroll Wheel, AD, Swipe Traverse gallery
Left Click, Touch Exit gallery Content is not a video
Escape
Right Click Exit gallery, Enable "Enlarge on Hover" option
Middle Click Open post page of thumbnail in new tab
Double Left Click Exit gallery Content is a video
Ctrl Left Click Open original content in new tab and stay on current tab
Ctrl Shift Left Click Open original content in new tab and move to new tab

Gallery Hotkeys

Key Function Condition
F Add favorite
X Remove favorite "Remove Button" option checked
M Toggle video mute
B Toggle background
P Stop/start autoplay Autoplay option checked

General Hotkeys

Key Function
T Toggle tooltips
D Toggle details
U Toggle UI
O Toggle more options
R Toggle add/remove favorite buttons
H Toggle hints

Search Syntax

Basic

Same as the normal site syntax with addition of lone "ID" without ":"

Operator Syntax Example
And tag1 tag2 apple banana grape
Or ( tag1 ~ tag2 ) ( apple ~ banana ~ grape )
Not -tag1 -pineapple -orange
Wildcard ta*1 a*ple*auce b*a*n*a *grape*
ID <id> 12345 55555
Any Combination ( fruit ~ vegetable ~ a*sauce ) *apple* -apple* -banana -grape* -lemon* ( ripe ~ tasty* ) -12345 -55555 -112234

Wildcard Examples

Same as the normal site except "*tag" (aka "ends with") works here, but does not work on the site

Query Explanation
apple* starts with "apple"
*apple ends with "apple"
*apple* -*apple -apple* contains "apple", but does NOT start or end with "apple"
a*sauce starts with "a" and ends with "sauce"
pi*ea*ple starts with "pi", contains "ea" in the middle, and ends with "ple"

Meta

Same as the normal site except relative comparisons like "height:>width" work here, but do not work on the site

Operator Syntax Example
Equals : width:1920
Greater than :> score:>50
Less than :< id:<9999999

Supported:

  • score
  • width
  • height
  • id

Notes:

  • "123" and "id:123" are equivalent
  • Score requires reset to update, but will update daily in the future (*WIP)

Meta Examples

Query Explanation
( score:<10 ~ score:100 ~ score:>10000 ~ apple ) score is less than 10, or score equals 100, or score is greater than 1000, or is an apple
width:1920 height:1080 -video -animated HD image
height:>width video portrait video
-height:>width video landscape video

Realistic Examples

  • ( video ~ animated ~ high_res* ~ absurd_res* ) -low_res* ( female* ~ 1girls ~ 123 ) -ai_generated -red_hair -no_sound looking_at_viewer score:>100
  • ( fortnite* ~ valorant* ~ apex* ~ *league* ) -video -*animated* -ai_generated *3d* -*2d*

FAQ

Q: Why is there some bug/issue?
A: If not already addressed below, report the bug and explain how to reproduce it.

Q: Everything stopped working, why I can't see any favorites?
A: Click the "Reset" button and reload.

  • If that doesn't work, delete all site data (cookies, localStorage, indexedDB) through your browser's settings.
  • If that also doesn't work, report the bug and explain how to reproduce it.

Q: What browsers are supported?
A: Chrome, Edge, and Firefox are supported.

Q: Does it work on mobile/Android/iOS?
A: Yes, but only search and gallery are enabled. Tooltips and captions are disabled to improve performance.

  • Requires a mobile browser that supports Tampermonkey or Userscripts
  • Still a new feature and somewhat laggy. I plan to optimize it further.
  • Has an option to disable gallery on lower performance devices.

Q: Why am I experiencing lag?
A: Responsiveness depends on:

  • Internet speed:
    • A lot of network activity (loading favorites, rendering images) happens in the background.
    • A stable wired connection is preferred.
  • Improve responsiveness and performance by:
    • Reducing the "Results per Page" option.
    • Lowering the "Performance Profile" option.