Skip to content

TFW2005 Hotlink Indicator by gigirassy

Screenshot of TFW2005 Hotlink Indicator

Details

Authorgigirassy

LicenseWTFPL

CategoryTFW2005

Created

Updated

Code size975 B

Code checksum249ff9af

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Simple style that shows whether a TFW2005 image is hotlinked. Blue is for hotlinked outside of Photobucket/Discord, red is for hotlinked w/ Discord/Photobucket.

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name         TFW2005 Hotlink Indicator
@version      20250423.19.31
@namespace    blitzw.in
@description  Simple style that shows whether a TFW2005 image is hotlinked. Blue is for hotlinked outside of Photobucket/Discord, red is for Discord/Photobucket, and none is for regular TFW2005 images.
@author       Nune
@license      WTFPL
==/UserStyle== */

@-moz-document url-prefix("https://www.tfw2005.com/") {
img[src^="https://media.discordapp.net/"],
img[src^="https://cdn.discordapp.com/"],
img[src^="https://img.photobucket.com/"],
img[src^="https://images-ext-1.discordapp.net/"]{
    border: 2px solid red !important;
}

img:not([src^="https://www.tfw2005.com/"]):not([src^="https://news.tfw2005.com/"]):not([src^="https://tfw2005.com/"])::not([src^="https://media.discordapp.net/"]):not([src^="https://cdn.discordapp.com"]):not([src^="https://images-ext-1.discordapp.net/"]):not([src^="https://img.photobucket.com/"]) {
    border: 2px solid blue;
}

}

Reviews

No reviews yet.