I created this script to help track the presence of tags within galleries.How It Works:• Gallery Overview: - When viewing the gallery overview page, the script retrieves the tag list and page count for the gallery.
• Individual Pages: - When viewing a specific page within a gallery, the script displays the tag list above the image as checkboxes.
- Simply check the tags that appear on the current page.
- Use the "Non-content page" checkbox to exclude pages from the tag presence calculation.
- On the gallery overview, any page with at least one checked tag will have a green border, while non-content pages will have a blue border.
If you prefer the tag list to appear below the image instead of above, you can replace CODE
const targetDiv = document.getElementById("i2");
on line 139 with CODE
const targetDiv = document.getElementById("i3");
.• Tag Presence Indication: - Tags are color-coded to indicate presence (for tags at leaast checked once):
- Green: Tags present on at least 25% of pages (or single-image tags).
- Red: Tags present on less than 25% of pages, excluding single-image tags.
- This logic is reversed for "low x" tags (which only remain valid if the main tag presence is low).
• Ignored Tags: - "language:", "group:", "artist:", "other:", "parody:original", "sole x", and "x only" — These tags are ignored, as they generally apply to the whole gallery.
Screenshots:Limitations:- Stats are not shared between gallery updates.
- You must visit the gallery overview first for the list of tags to appear on individual pages.
- Most likely more I can't think of now.
Edit: Found an infinite loop when 2 galleries pages are opened at the same time. Will repost once it's fixed.
Edit2: Fixed
Presence_Count_Helper_1.2.user.js.txt ( 23.4k )
Number of downloads: 0This post has been edited by moodyclaus: Nov 16 2024, 08:27