Rename Tab Title 的评价
Rename Tab Title 作者: Anush Veeranala
105 条评价
- 评分 4 / 5来自 Firefox 用户 10122440,6 年前Hey, I might've found a solution for dynamically updated titles. The following code listens for changes of the 'document.title' object and allows you to execute code when it changes. I would send a PR, but it doesn't seem that you're on any public VCS platform.
new MutationObserver(function(mutations) {
console.log(mutations);
// overwrite the title here
}).observe(
document.querySelector('title'),
{
subtree: true,
characterData: true,
childList: true
}
); - 评分 4 / 5来自 Firefox 用户 14428935,6 年前Little regrettable. gmail.com don't updates title, but link Addon is update allways
https://bitbucket.org/onemen/tabmix-rename-tab/src/default/ - 评分 3 / 5来自 Firefox 用户 14304330,6 年前I dont see a place to add a new url. I want to add per site and not tabs .IT used to work in the past
- 评分 5 / 5来自 Firefox 用户 14318152,6 年前
- 评分 4 / 5来自 La Mo,6 年前If possible please make focusing tab switch to original title, the extension should hide infocus tabs titles only. Thank you.
- 评分 4 / 5来自 ChonUnca,6 年前Is it possible to use variable in title for regex definition?
for example:
Regex definition:
/.*google\.com.*/ -> title defining as: "[GOOGLE] - %title%"
give for url:
drive.google.com -> [GOOGLE] - My Drive
contacts.google.com -> [GOOGLE] - Google Contacts
calendar.google.com -> [GOOGLE] - Google Calendar - 评分 5 / 5来自 Firefox 用户 14263639,6 年前This is a great add on. But I've one more:
Feature request:
Please allow use to clean up the icon. (Reset to the default blank icon)
Thanks. - 评分 5 / 5来自 tanigoti,6 年前
- 评分 5 / 5来自 Firefox 用户 14207324,6 年前
- 评分 4 / 5来自 Firefox 用户 14186269,6 年前This does exactly what I want.
Rename Tabs to "Change" the title to make them easier to find.
Very easy to use. - 评分 1 / 5来自 Firefox 用户 13832595,6 年前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. - 评分 5 / 5来自 Firefox 用户 14162314,6 年前
- 评分 1 / 5来自 Firefox 用户 13902544,6 年前
- 评分 4 / 5来自 klint,7 年前Excellent add! So handy to rename cryptic server urls in titles
Would you mind adding an entry on the tab header menu as well? Thanks - 评分 4 / 5来自 4366Downs,7 年前
- 评分 5 / 5来自 Marek,7 年前Thanks! Now I can distinguish tabs with similar names. :)
I didn't know I could start typing right after clicking the extension icon. The caret isn't visible until I press a key for some reason. Anyway, autofocus works, it's fine.
Firefox 61.0.1 (64-bit) on Windows 10.开发者回应
发布于 6 年前i already gave the autofocus.. could you let me know which version of firefox and OS r u using? - 评分 4 / 5来自 piecevcake,7 年前Very basic, doesnt permanently rename tabs like tab retitle, but that malfunctions so back to this.
being able to edit the previous name in the box is great, saves a lot of hassle.
Shortcut suggestion: Alt_m.
Reason: ShiftControl_E doesn't work, it opens the firefox debugger! And of course m is the letter to press to rename in windows explorer, so is easy to remember. :-) - 评分 4 / 5来自 Firefox 用户 12902768,7 年前feature request/
import and export of saved renamed tab titles
/feature request
every time i update my FF, all saved tab titles are gone. that's annoying (i'm using the portable version of FF).
please continue the good work on this addon. thx. - 评分 4 / 5来自 WRCS-UK,7 年前Below there are some comments that amount to this extension being "inflexible" because it won't work on a global basis but only on individual tabs. The extension is called "Rename Tab Title" and that is exactly what it does. If it renamed every tab from a particular site to exactly the same tab title it would be of no value to me and would indeed be "inflexible". The whole point, surely, is to pinpoint a specific url by a chosen name.
It works just fine (does what it says on tin).