Gelbooru "Index" Button & Page Swiping

Adds an "Index" button on post pages, allowing you to return to a search starting from the ID of the current post you're on, and provides swiping next/previous on mobile

Author
A (Siampu)
Daily installs
0
Total installs
6
Ratings
0 0 0
Version
2.0
Created
2025-02-02
Updated
2025-04-02
Size
5.72 KB
License
MIT
Applies to

Adds a handy index button to the post view page, allowing you to return to a search while retaining your place in it. The ID of the post you're on will be appended to the end of your search, starting it from where you left off.

Demonstration

It will attempt to substitute an existing ID at the end of a search, so that you can use this continuously throughout one search session. I was able to get this to perform well with extra terms added after the ID in a search, but I'm sure someone will find a way to break it.


New in 2.0 because I felt like it: Now adds swiping functionality for next/previous in searches, complete with a cute little animation to try and ensure the direction is right. It works well for me on Pixel 7 Pro, but I haven't really got any real way to ensure it'll do well on other displays.

Swiping Demonstration