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

יוצר
A (Siampu)
התקנות יומיות
0
סה"כ התקנות
6
דירוגים
0 0 0
גרסה
2.0
נוצר
02-02-2025
עודכן
02-04-2025
Size
5.72 קילו-בייט
רישיון
MIT
חל על

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