Close Tab by Double Right Click 的评价
Close Tab by Double Right Click 作者: webextensions.org
9 条评价
- This add-on works perfectly - using its current left-click-right-click. On every website I've used it on, it's worked properly. That said: I had to disable this extension. There are too many times where I'll close a tab that I didn't want closed. Notably, I'll double-left-click text (to select it), then immediately right-click on that text (to get the context menu for options), and the tab will close. That's such a common click pattern with webpage text, I can't keep this otherwise excellent extension.
- 评分 4 / 5来自 Firefox 用户 15428448, 4 年前Its closing the page with a single right click on v 102. Even when I just right click on a link. The right/left thing doesnt work. Hope youre able to find a fix as its a great app and I miss it! I had to disable this app for now.
- 评分 4 / 5来自 MisfortuneCookie, 4 年前Does what it says on the tin. Unfortunately, the right click menu is opened after the tab is closed. C'est la vie.
- 评分 4 / 5来自 Firefox 用户 14526812, 7 年前after tab closes the right click menu remains open on the next tab. Can this be changed so that the menu is auto closed?
- 评分 4 / 5来自 Juanka Hula, 8 年前I was asking if you could create a new addon. Also by default vanilla firefox does not do anything with double left click so I dont see what would be the problem with it.
>Great addon. Could you make one to open a new tab by double left clicking on a tab?开发者回应
发布于 8 年前Double click is a common gesture which is used for various other useful purposes, so that wouldn't be a part of this add-on.
EDIT 2:
In case you are asking about double left clicking on the tab header itself, I believe that is not supported in the new WebExtensions architecture used by Firefox.
EDIT 1:
Double left click (and also triple left click) is very often used for selecting text. Apart from that, various websites use double click for some common UI/UX operations. Hence, in my opinion, such conflicting shortcuts/gesture shouldn't be used.
But, in case you still want such a functionality, you can modify this extension to create a new one by following these steps:
- Go to https://github.com/webextensions/close-tab-by-double-right-click
- Download the code as a zip file by clicking on the "Clone or download" button
- Extract the downloaded zip file
- In the extracted file close-tab-by-double-right-click.js , modify the line which says:
if (e.which !== 3) {
MODIFY THIS LINE TO
if (e.which !== 1) {
- Reference: The above mentioned line can also be currently seen at: https://github.com/webextensions/close-tab-by-double-right-click/blob/master/extension/scripts/close-tab-by-double-right-click.js#L9
- After that, you may zip the files inside the extension folder and use that to create the add-on via https://addons.mozilla.org/ for your use. While publishing, if you wish to use the extension for personal use only, then there should be an option for self-distributed add-ons, you may want to select that.
Hope that helps :-) - Thanks for this! I have the same experience as the other reviewer: when I double r. click, on the first click the r. click context menu appears and does not go away after the tab is closed after the second r. click. I have to either click elsewhere or press ESC to get rid of it. This does not happen in your Chrome extension.
Edit 11/11/17: updated to current version, problem still exists (Win7 Pro)开发者回应
发布于 8 年前Thanks for the feedback. Are using Firefox on Linux ?
I have added a fix for Firefox on Linux, can you update to the latest version and test again?
Edit:
I'm done with the analysis and it is a bug for Firefox-on-Windows with apparently no workarounds :-/
I'll file a bug report to Firefox.
Till then, I don't see any other alternative approach while sticking to double-right-click-on-page gesture for closing tab.