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.

Δημιουργός
Jupiter Liar
Ημερήσιες εγκαταστάσεις
0
Σύνολο εγκαταστάσεων
3
Βαθμολογίες
0 0 0
Έκδοση
1.0
Δημιουργήθηκε την
26/08/2023
Ενημερώθηκε την
26/08/2023
Άδεια
Attribution CC BY
Εφαρμόζεται σε
Όλοι οι ιστοχώροι

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.