I made a small image highlighter for Tampermonkey a while ago and thought i share it.
It's like the opposite of the blacklist.
It looks for the tags within an image and checks if some query matches it. If it does, it adds an orange dotted border and adds the match as title.
It's possible to AND / OR tags and use regex as query.
Some examples:
/(cat|dog)/~scarf matches cats and dogs with scarfes.
dog~/glowing.*/ matches dogs with any tag that starts with glowing.
dog matches dogs.
It is possible that multible queries match. Each match will be listed as title in that info thing below the image.
If a tag that is being searched for is in the list, it will be skipped. That only works with single tags and not complex queries right now.
TODO's:
-Add an input field on the site with the queries
-Fix the skipping of an query on sites like 'cat -rating:q' (currently it still matches 'cat')
-Add meta queries like rating, score, comments to the search
-Multicolor dotted so that the green, yellow and red border doesn't get lost. Currently the info below shows if its flagged, parent or child.
If i have some spare time, i'll work on it.
Preview (searched for 'slate' )
Script for Tampermonkey
Updated by Ecstatis