thanks a lot for the "variable" thing - works flawlessly on the site I wanted it for.
Now, as announced in the "General" thread ("TabTitles & FavIcons"), here's some clarifying what web masters/web designers can do to make this almost impossible to accomplish.
Lets just take this our K-Meleon site:
Title of the Home/News page: "K-Meleon"
Title of the screenshots page: "K-Meleon" (a meaningful TabTitle would be "Screenshots of K-Meleon"
Title of the downloads page: "K-Meleon" (a meaningful TabTitle would be "Download K-Meleon"
(note: all have the same "#$_TiCuX_url"
and so on.
Now, the hard part comes when we get to our Forum (Title: Yes, it IS "K-Meleon", not: "Forum Index K-Meleon"
As I know already I'm here due to the favicon, I'd love to see "General", "Bugs". "Search", and thread captions, and so on, in the Tabs. Well, that is not so easy. There are three kinds of titles there:
"K-Meleon :: K-Meleon "
"K-Meleon :: "
I do not see a way how any extension will ever be able to solve all of these renaming tasks equally satisfying.
There's no way around making those who write the pages aware of the "new" requirements that tabbed browsing brought to their page naming routines.
This site is not alone at all as far as this is concerned - one of the best renowned publishers of IT/tech/Communication periodicals in Germany, www.heise.de, "excels" in that respect.
siria, I have experimented with "substr" and "basename( $URL )".
The latter was rather successful at heise.de, try:
index($URL,"heise.de/foto/")>-1?$_newtitle=basename( $URL ).hFoto:0;
index($URL,"heise.de/autos/")>-1?$_newtitle=basename( $URL ).hAuto:0;
but this is all rather more than I can grasp at the moment. So I'm looking forward to your next version.
Oh, yes, everybody: Editing the K-Meleon's sites' various page titles would be worth being dicussed, wouldn't it?
Back again ...