UserJS.org

Fix font tag underline

  • Published: 2005-08-29 09:12
  • Modified: 2005-09-19 09:19
  • Author: Lee Harvey
  • Requires: Opera 8.0
  • Install as: Opera User JS

Learn how to install scripts

Report a bug

Some old-style sites rely on <font> tags inside links to use the same colour for the underline as for the text. However, according to the specification, the underline colour should be inherited from the link. This means that on some sites, the link underline is a different colour to the text. For example: DrudgeReport NYTimes and Excite

This script detects when a site is relying on the incorrect behaviour used by some other browsers, and attempts to change the underline colour to match the colour used in the font tag.