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.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Аўтар
TKLF
Усталяванняў за дзень
0
Усяго ўсталяванняў
226
Рэйтынг
1 0 1
Версія
0.31
Створаны
13.12.2021
Абноўлены
06.12.2024
Памер
3.6 КБ
Ліцэнзія
MIT
Ужываецца на

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.31

Updates to code for the change in gallery HTML, plus added highlighting for .webp (with a toggle)

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.

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).