Since the Advent of Tabbed Browsing one great problem has been troubling man: too little space on the tabbar. In this never-ending struggle a new Wunderwaffe has been created - in Germany, by one polish collaborator - that shall decide the outcome of this fight for space forever: The Retitler
As these days most websites provide a favicon which is then shown on a tab next to the title of a webpage and due to the fact that most favicons feature quite a distinctive design, there's only little need for the title of page to still contain the site's name. So, away with it! But how? That's where the Retitler Firefox Extension might help you out.
Well, actually, at first, it does nothing ... but with one click, from this:
you get that:
As you may notice, there in an instant gain in clarity and free space on the tabbar
So, in short, Retitler changes the title of a website in accordance with user-settable rules.
The built-in algorithm can be used to quickly find rules which, despite their simplicity, in almost all cases should deliver satisfactory results.
Retitler relies heavily on the Regular Expressions functionality provided by the JavaScript Engine in Mozilla. In the following image you can see how the rules with the "one click" from above look like.
Roughly speaking, at first, the entries from the second column, named "The URL matching ...", are being tested against the URL of document. If it matches, replace will be applied on the title String of the document with the entry from the third column ("and Title matching ...") and the one from the last column ("replace Title with ...") as parameters. Note that the strings in the 2nd and 3rd column will be converted into a Regexp Object and errors in the syntax will prevent the affected rule(s) from being applied to the title.
For more information on how to write Regular Expressions please refer to: http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Guide:Regular_Expressions