exh which is gif?
Got tired of hunting around galleries for the .gif files, so I made this.
Simple jQuery Tampermonkey userscript that highlights .gif files in a gallery with a glow around the thumbnail.
Feel free to adopt this code for your own use.
What's new in v0.2
Added inline settings on the gallery page for setting custom color/size easier.
Usage
- Look for Which is GIF? ⚙️ on the right bar, under the "Petition to Expunge" and "Petition to Rename" links, and click it.
- This will bring up a color picker and a number input field, which can be used to adjust the size/color of glow as needed.
- Hit Enter or click outside of the field to apply.
- You can then click Which is GIF? ⚙️ again to hide the color/size picker.
Once you're done choosing your color/size, you can edit the script and uncomment out line 31
to hide the setting link if you don't want to see it anymore.
If you were happy with v0.1, feel free to ignore v0.2, functionally, they do the same thing. Cheers
The following applies only to v0.1
You can adjust the colors/size of the glow using the WG_GLOW_SIZE and WG_GLOW_COLOR variables near the top.
WG_GLOW_SIZE accepts any number
WG_GLOW_COLOR accepts colors in either color name format ("aqua", "orange", etc.) or hex format (#00FFFF, etc).