Firefox 中标签的自定义名称?

Rad*_*dek 6 firefox-extensions

我想在最新的 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
Run Code Online (Sandbox Code Playgroud)

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

Gil*_*il' 3

给这只特殊的猫剥皮的方法不止一种。对于您的使用,Greasemonkey脚本看起来很合适。由于可以轻松从 URL 中提取应用程序的版本,因此脚本可能如下所示:

var match_data = document.URL.match(/^[a-z]+:\/\/[^\/]*\/imacs\/radek\/([0-9.]+)\//);
if (match_data != null) {
    document.title = match_data[1] + " " + document.title;
}
Run Code Online (Sandbox Code Playgroud)