Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I want to have custom names for some tabs in latest firefox.

I have lots of tabs open and some of them represent different build of the same application. It means that I can see the same favicon and the same text. It would great if I can name them (ideally permanently as I have them bookmarked) like v3.0, v3.0.4, v3.05

So the tab name would be

3.0 for http://wwwdev/imacs/radek/3.0/pages/main/login.php
3.0.4 for http://wwwdev/imacs/radek/3.0.4/pages/main/login.php
3.0.5 for http://wwwdev/imacs/radek/3.0.5/pages/main/login.php

looks like TabRenamizer doesn't work with the latest firefox build.

share|improve this question

1 Answer 1

There's more than one way to skin this particular cat. For your usage, a Greasemonkey script looks appropriate. Since the version of your application is easily extracted from the URL, the script might look like this:

var match_data = document.URL.match(/^[a-z]+:\/\/[^\/]*\/imacs\/radek\/([0-9.]+)\//);
if (match_data != null) {
    document.title = match_data[1] + " " + document.title;
}
share|improve this answer
    
will Greasemonkey make firefox slower? –  Radek Aug 13 '10 at 0:14
    
I updated my question with some example what I want to achieve. So you think that I can use the script to make the document title rename in case I have new version 3.0.6? –  Radek Aug 13 '10 at 0:17
    
@Radek: The script extracts the version number from the URL. You can easily adapt the regexp or the title construction expression if they're not exactly what you want. Greasemonkey will make every page load take about 1µs slower — in other words I don't think it makes any visible difference. –  Gilles Aug 13 '10 at 9:07

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.