Simple site signatures
- Published: 2005-05-11 16:24
- Modified: 2005-10-26 10:06
- Author: Arve Bersvendsen
- Requires: Opera 8.0
- Install as: Opera User JS
- Install as: Greasemonkey script
Learn how to install scripts
Adds simple site signatures by adding an id attribute to the body element of sites where no such element is present. The purpose of doing this is to provide a simple hook for enabling user styling of any web site.
The script does the following:
- Extracts the domain name of the site visited
- Removes “www” from the extracted name
- Replaces all dots with dashes
- Creates an
idattribute on<body>with this replaced string.
This script has been created with inspiration from a bookmarklet by an unknown author.
Deprecated: After Opera 9, this script is no longer needed. See the My.Opera forums for more information.