exh which is gif?

Highlights .gif files in gallery view by adding a glow around the thumbnail. Customizable settings are shown in the right sidebar, under the petition rename/expunge links.

Author
TKLF
Daily installs
0
Total installs
159
Ratings
1 0 0
Version
0.2
Created
2021-12-13
Updated
2022-03-18
License
MIT
Applies to

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

  1. Look for Which is GIF? ⚙️ on the right bar, under the "Petition to Expunge" and "Petition to Rename" links, and click it.
  2. 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.
  3. Hit Enter or click outside of the field to apply.
  4. 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 32 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).