Advanced site signature
- Published: 2005-05-25 08:37
- Modified: 2005-10-26 10:03
- Author: TarquinWJ and LiteraryMoose
- Requires: Opera 8.0
- Install as: Opera User JS
Learn how to install scripts
Appends a class to the HTML element using the domain of the current page. For example, pages on this site receiveclass="userjs org"
This allows you to use multiple classes or class selectors that match substrings (so matching all Google sites is done like this: html.google
), even though Opera 8 does not support attribute substring selectors.
(This script is designed to work even if page JavaScript is disabled using the disable script User JavaScript.)
Deprecated: After Opera 9, this script is no longer needed. See the My.Opera forums for more information.