AI Gallery Badges (Userscript)

Help with all things ImageFap, site/account difficulties, questions for staff, browser issues etc.

Moderator: admin

AI Gallery Badges (Userscript)

Postby moonhead on Mon Oct 19, 2026 8:58 am

So I was getting a little frustrated with the amount of AI content on the main gallery page, without it being obvious it was AI from the title, or the thumbnails. I know the categories applied are getting to be reasonable now, with a lot of galleries being removed if they don't use the correct category, but that's a little after the fact, you need to click through to the gallery to see the categories.

That in mind, I created a userscript for tampermonkey to add a badge against any galleries from the AI Generated category. (when I say I did it, I of course got AI to do it all, because it's only appropriate to get AI to help tag AI :lol: ).

If you want to install it, I've saved it in this github repo - https://github.com/m00nh34dnsfw/imagefap-ai-gallery-badgeshttps://github.com/m00nh34dnsfw/imagefap-ai-gallery-badges

I'm not sure the instructions for installation are necessarily correct there, but if you're using tampermonkey, you probably have an idea on how to install a userscript anyway.

Background on what this does... This is the 2nd take on this script. The first script ran when you opened the galleries index, and then opened the gallery link for see what categories it had, this resulted in a lot of IP blocks from IF, so wasn't really suitable. This new version instead builds up an internal database of ALL gallery IDs in the AI Generated category, and then references that to put the badge against them. It will update the ID's whenever it sees a newer ID than what it's seen last, and does so not by visiting the galleries, but instead by getting the list of galleries for that category (so, 150 gallery IDs at once).

(it also does a bit of overlapping to cover off those pesky IF bugs where galleries don't show up straight away, but they are just omitted from the results until later...)
User avatar
moonhead
 
Posts: 14
Joined: Fri Jun 23, 2006 1:00 pm

Return to Help & Support

Who is online

Users browsing this forum: No registered users and 4 guests