Greasy Fork is available in English.

CSS Helper - URL Attribute Adder

Adds a custom attribute (url-url) to all body tags, to make it easier for CSS extensions to target specific URL's.

Auteur
Jupiter Liar
Nombre d'installations quotidiennes
0
Nombre d'installations
3
Évaluations
0 0 0
Version
1.0
Créer
2023-08-26
Mis à jour
2023-08-26
Licence
Attribution CC BY
S'applique à
Tous les sites

Sometimes you want your CSS editor to only work on specific URL's within a domain, but it can't make its selections that specific. This script helps by adding a custom attribute, called "url-url", to the body tag of all web pages. This attribute contains the URL of the webpage, which allows your CSS to grab onto it.