Rule34 Favorites Search Gallery
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
- Install Tampermonkey
- Install this script using Tampermonkey
- Go to any favorites page:
- Should end with: index.php?page=favorites&s=view&id=<ID>
- Enjoy
## Features
Search favorites with the the same syntax as the normal search pages (except for meta tags):
View full resolution images, or play videos and GIFs ( also works on search 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
Enlarged remove buttons that don't force page reloads
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
Clickable overlay of character, copyright, and artist tags related to favorite
Choose full-screen image resolution
Autocompleted tag search
Look at other user's favorites with the above features (blacklisted tags are hidden automatically)
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 favorites in gallery
Add favorites from other users' favorites pages
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 |
Middle Click |
Toggle "Enlarge on Hover" option |
Did NOT click on a thumbnail |
Scroll Wheel |
Change background opacity |
Cursor hovering over thumbnail with "Enlarge on Hover" enabled |
Shift + Scroll Wheel |
Change column count |
|
Gallery Controls
Input |
Function |
Condition |
Arrow Keys, Scroll Wheel, WASD, Swipe |
Traverse gallery |
|
Left Click, Touch |
Exit gallery |
Content is not a video |
Escape |
Exit gallery |
|
Right Click |
Exit gallery, Enable "Enlarge on Hover" option |
|
Middle Click |
Open post page of thumbnail in new tab |
|
Gallery Hotkeys
Key |
Function |
Condition |
F |
Add favorite |
|
X |
Remove favorite |
"Remove Button" option checked |
M |
Toggle video mute |
|
B |
Toggle background |
|
R |
Toggle Add/Remove Favorite Buttons |
On your own favorites page |
General Hotkeys
Key |
Function |
T |
Toggle tooltips |
D |
Toggle details |
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* (Note: "*tag" works for this script but not for the normal site) |
ID |
<id> |
12345 55555 |
Any Combination |
|
( fruit ~ vegetable ~ a*sauce ) *apple* -apple* -banana -grape* -lemon* ( ripe ~ tasty* ) -12345 -55555 -112234 |
Wildcard Examples
( Same 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 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:
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.