关闭当前页后选取 的评价
关闭当前页后选取 作者: jingyu9575
117 条评价
- 评分 5 / 5来自 asmwarrior, 7 年前
- 评分 5 / 5来自 Firefox 用户 14295439, 7 年前This addon lets you correct one of Firefox's bigger usability problems: the unpredictability of which tab will be selected when you close a tab. It also does so with the minimum necessary permissions, which in an age of spying browser addons is something to appreciate.
Firefox keeps some internal info about which tabs are 'children' of 'parent' tabs, and depending whether you have clicked around in the tab bar or not, may choose to activate some 'peer' of the closing tab rather than one adjacent to the closing tab. But this information is not communicated to the user at all, the tab bar appears to be just a list of tabs! I'm fairly technically literate and I find this behaviour stunningly confusing, I can only imagine how frustrating this must be to less technical users. I'm not even sure that this description of how it works is 100% right, and I've spent some time looking into it!
In my opinion, Firefox's closing order for tabs without parent-child relationships (selecting the tab to the right) is also wrong. When you open a new tab, it is opened on the right. It only makes sense that closing a tab would select the tab to the left, taking you back toward where you began. The fault doesn't lie entirely with Firefox though, this is also Chrome's behaviour, and the Firefox team must feel much pressure to keep their interface consistent with the competition to make switching easy.
But I digress. These are small user interface issues, but minor details like this can have major impact on the user experience. Kudos to the author for making this extension.
The only flaw is that, when configured to select the tab to the left, there is a brief flash where the tab to the right is selected before switching to the tab to the left. I presume that this is due to a limitation of the current extension API, where the extension reacts to the tab closed event after the tab is gone and Firefox has already made its default next tab selection, and that nothing can be done to fix it. Unfortunate, but not a deal breaker!
Users who care about tab opening behaviour are also encouraged to check out an about:config option added in Firefox 60, which positions new tabs to the right of the opening tab (instead of to the right of the current peer tabs, or at the end of the tab strip entirely):
browser.tabs.insertAfterCurrent = true - Great extension, thanks! We're slowly clawing back some of the functionality we used to enjoy in the pre-FF57 Tab Mix Plus.
I love that you can use shortcut keys, although it took me a long time to figure out how to do this on the options page (you first have to define the shortcut key at the bottom, and then select the shortcut key in the "After closing the current tab, try selecting in this order" section).
I have "last accessed tab" as my first preference and Ctrl+Q bound to "right tab", so if I want to close the tab and select the last accessed tab, I press Ctrl+W (the default key for closing a tab), but if I want to close the tab and select the right tab, I press Ctrl+Q. This works really well. (I would have preferred Ctrl+E, but that does the same as Ctrl+L and can't be overridden, it seems.)开发者回应
发布于 7 年前Yes the options page may be confusing. The shortcuts section is provided by a library, so the style is different and the settings are separated in two places.
Built-in shortcuts can not be modified by extensions now. Relevant feature request for Firefox: https://bugzilla.mozilla.org/show_bug.cgi?id=1325692 开发者回应
发布于 7 年前The default setting of Tab Mix Plus seems to be "Opener/right tab" on Waterfox 56. For this behavior, set the 1st line to "First - Parent tab", 2nd line to "Right - tab", 3rd line to "Last - tab".开发者回应
发布于 7 年前That is strange. I just tested on 60.0.2 but did not find any problem.
Another user reported that upgrading to Firefox 61 broke this extension[1]. It turned out to be profile corruption and deleting the extension's config file fixed it for them.
[1] https://github.com/jingyu9575/select-after-closing-current/issues/8开发者回应
发布于 7 年前Gesturefy可以先切换后关闭,这个扩展不行,因为是用户直接点的关闭。
参考代码:https://github.com/Robbendebiene/Gesturefy/blob/67b20470387e7de80e38ff7cdb303a6537fde3ac/src/lib/actions.js#L72 接收到手势后,先执行了chrome.tabs.update(切换),后进行chrome.tabs.remove(关闭)。- 评分 5 / 5来自 Firefox 用户 13568351, 7 年前
- 评分 5 / 5来自 Firefox 用户 13477197, 7 年前
- 评分 5 / 5来自 Bryan Durio, 7 年前ThankYouThankYouThankYou! I've been searching for multiple addons to replace some of the functionality from TMP and this helps tremendously!
- 评分 5 / 5来自 Grey-Black-White, 7 年前It is a very useful add-on that makes my browsing experience far better. I wish such customisation was built-in to Firefox.