UserJS.org

Simple site signatures

Learn how to install scripts

Report a bug

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 id attribute 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.