Rename Tab Title 的评价
Rename Tab Title 作者: Anush Veeranala
Firefox 用户 13832595 的评价
评分 1 / 5
来自 Firefox 用户 13832595,7 年前It appears to work, but it has five problems which are pretty major, given what a large portion of the addon they are.
1. The Ctrl+Shift+E shortcut already HAS a use. It opens up the network panel in the developer tools... and, here on Linux, Firefox doesn't allow extensions to override built-in hotkeys. (See Bugzilla bug # 1325692. I actually wrote a utility which intercepts Ctrl+Q when Firefox is the active window to work around this shortcoming.)
2. Cluttering up either my toolbar or my overflow menu using a browser action is awkward and bad UI design. The proper way to implement a function like this is to add it to the tab context menu using browser.menus.create and the "tab" context type. (Because of a limitation in the WebExtensions API, Tree Style Tab can't query custom tab context menu entries, so you'll also want to use the code snippet from the "API for other addons" page in the Tree Style Tab wiki to register yourself with Tree Style Tab's context menu.)
3. The popup looks terrible. If you're going to use a browser-provided popup panel, please set browser_style to true when declaring it, so Firefox will inject the same CSS rules used for things like the bookmark star. The "Browser styles" page in the MDN WebExtensions documentation has more information.
4. I use a tab suspender addon to keep memory consumption down and using a browser action means that I have to load a tab back into memory in order to edit its title. (Which means I have to wait for the tab to reload because, while the current tab is in the process of loading or reloading, Rename Tab Title will just see "undefined" as the current title.) Using a context menu entry would allow me to rename unloaded tabs without reloading them first.
5. Drag-and-drop reordering tabs using Tree Style Tab's sidebar sometimes unsets the customized tab title. (eg. I experienced it on a tab containing my GOG.com friends list, which only has "GOG.com" as its title.)
What I'd do is:
a. Register a context menu entry for tabs with both Firefox and Tree Style Tab (be sure to use the example code, so it silences any "Could not send a message to Tree Style Tab because it's not installed" errors.) and have it display an ordinary window.prompt popup. (The alternative is to inject content into the site, which is fragile and takes a lot of work to make it consistently look nice.)
b. Have the browser action take users directly to the Edit All option. (Browser actions are supposed to be for things which are not specific to the current tab's contents, like NoScript or uMatrix policies which apply to entire domains, or in-progress downloads which have lifetimes independent of specific tabs.)
c. Identify why the drag-and-drop reordering breaks things and fix it. (Worst case scenario, maybe there's a Tree Style Tabs event you can attach to.)
EDIT: I dropped the rating down to one star because it seems to consistently forget the customization when the page gets reloaded after the tab's been suspended. That makes it effectively useless to me.
1. The Ctrl+Shift+E shortcut already HAS a use. It opens up the network panel in the developer tools... and, here on Linux, Firefox doesn't allow extensions to override built-in hotkeys. (See Bugzilla bug # 1325692. I actually wrote a utility which intercepts Ctrl+Q when Firefox is the active window to work around this shortcoming.)
2. Cluttering up either my toolbar or my overflow menu using a browser action is awkward and bad UI design. The proper way to implement a function like this is to add it to the tab context menu using browser.menus.create and the "tab" context type. (Because of a limitation in the WebExtensions API, Tree Style Tab can't query custom tab context menu entries, so you'll also want to use the code snippet from the "API for other addons" page in the Tree Style Tab wiki to register yourself with Tree Style Tab's context menu.)
3. The popup looks terrible. If you're going to use a browser-provided popup panel, please set browser_style to true when declaring it, so Firefox will inject the same CSS rules used for things like the bookmark star. The "Browser styles" page in the MDN WebExtensions documentation has more information.
4. I use a tab suspender addon to keep memory consumption down and using a browser action means that I have to load a tab back into memory in order to edit its title. (Which means I have to wait for the tab to reload because, while the current tab is in the process of loading or reloading, Rename Tab Title will just see "undefined" as the current title.) Using a context menu entry would allow me to rename unloaded tabs without reloading them first.
5. Drag-and-drop reordering tabs using Tree Style Tab's sidebar sometimes unsets the customized tab title. (eg. I experienced it on a tab containing my GOG.com friends list, which only has "GOG.com" as its title.)
What I'd do is:
a. Register a context menu entry for tabs with both Firefox and Tree Style Tab (be sure to use the example code, so it silences any "Could not send a message to Tree Style Tab because it's not installed" errors.) and have it display an ordinary window.prompt popup. (The alternative is to inject content into the site, which is fragile and takes a lot of work to make it consistently look nice.)
b. Have the browser action take users directly to the Edit All option. (Browser actions are supposed to be for things which are not specific to the current tab's contents, like NoScript or uMatrix policies which apply to entire domains, or in-progress downloads which have lifetimes independent of specific tabs.)
c. Identify why the drag-and-drop reordering breaks things and fix it. (Worst case scenario, maybe there's a Tree Style Tabs event you can attach to.)
EDIT: I dropped the rating down to one star because it seems to consistently forget the customization when the page gets reloaded after the tab's been suspended. That makes it effectively useless to me.
107 条评价
- 评分 5 / 5来自 天灭中共退党团队保平安,7 天前
- 评分 3 / 5来自 WuJiao2000,5 个月前Not sure why this isn't a thing, but it would have been sooo much more convenient to be able to RC on a tab and select RENAME there.
And also for the tab's name field to be blank when you open up the dialogue box, so you dont have to CTRL A and del each time - 评分 2 / 5来自 Firefox 用户 14561823,6 个月前日本語環境では上手く動きません。IMEで変換候補決定時にEnterすると、入力が終了して適用されてしまいます。
IMEを使用する他の言語でも同様と思われます。 - 评分 1 / 5来自 lyoon,1 年前
- 评分 2 / 5来自 Firefox 用户 14729298,1 年前
- 评分 5 / 5来自 Firefox 用户 16523093,2 年前I've just installed it and it works perfectly. It has keyboard shortcut which is awesome. Groovy!
- 评分 2 / 5来自 hbn,2 年前Unfortunately doesn't rename across the domain, or if you reload the page. Would recommend Tab Mix instead.
- 评分 5 / 5来自 Vadi2,2 年前Works great - would love to be able to rename from the right-click menu as well
- 评分 2 / 5来自 Firefox 用户 12452163,2 年前Looked good at first - simple and easy. But my saved names aren't persisting - they're reverting back to defaults.
- 评分 4 / 5来自 Dimar,3 年前
- 评分 5 / 5来自 impal0r,3 年前Extension is easy to use, powerful thanks to the regex feature, and the instructions are thorough. My only problem with it is that it doesn't work for pdf files - but I've found this problem with other tab renaming extensions as well. Is changing the tab title of a pdf generally impossible in firefox?
- 评分 4 / 5来自 rediffusion,3 年前Work's fine, easy to use (ง •_•)ง
But I prefer to use this "Tab ReTitle".
It’s more for my needs. - 评分 2 / 5来自 Firefox 用户 17290971,3 年前I compared this addon with "Tab ReTitle" (https://addons.mozilla.org/de/firefox/addon/tab-retitle/?utm_source=addons.mozilla.org&utm_medium=referral&utm_content=search).
This one is quite limited. The custom name is gone even if a small part of the URL changes (for example: you open a price comparison site and add another product). This way, it is not useful for me. The other addon "Tab ReTitle" has several options how persistent a new name should be. - 评分 4 / 5来自 allan999,3 年前I like persistence :)
Please also add a Tabbar tab context menu option to rename title. I keep forgetting to look for this rename plugin among my millions of installed extensions :| + #ux :) - 评分 5 / 5来自 BlackVega,3 年前This extension is exactly what I needed! My only issue is that I cannot rename a PDF. Is there a work around?
- 评分 4 / 5来自 Firefox 用户 12712466,3 年前Pretty good, but one little improvement would make a world of difference for me: Allowing back references in the regex "title" field would allow actual dynamic modification of titles. Example: Matching "\[PROJECT-([0-9]+)\] (.*)" with title "$1 $2" would allow automatic removal of redundant info at the start of the title of most of my issue tracker tabs.
- 评分 1 / 5来自 lordaris,3 年前
- 评分 2 / 5来自 Pastel Dark Mode,4 年前Works fine for static pages, but does not override pages changing their own titles.
- 评分 5 / 5来自 stingda,4 年前
- 评分 5 / 5来自 Firefox 用户 16128564,4 年前