Double left/right or triple left clicks on WEBPAGE (not tab) to close tab. Reopen tab by shiftKey + DC/TC. Optional: an icon to…

Latest Version

Version
1.0.9
Update
June 28, 2013
Size
28.6KiB
Developer
mingyi.org
Category
Users
10,000+
Rating
2.71986 ★
Manifest Version
2
Web Store Status
Languages Support
English
See more
Permissions
Tabs
Http://*/*
Https://*/*
See more

Double Click Closes Tab Extension

VERY IMPORTANT NOTE: After installation, double click on the WEB PAGE (NOT TAB!) to close the tab (OR to be safer: change the options to use double right click or triple left click on page) - it's actually faster than clicking on tabs. details see below.

To those wanting \"double click on tab to close\" - Google now made its own extension to do that and more. It uses a plugin mechanism that uses compiled binary code and presents a security risk unless you're sure you can trust the author (of course coming from Google it's likely fine). Without using such mechanism, Chrome extensions cannot receive tab events. Google's extension is called Chrome Toolbox. As for the guy asking me why ChromePlus could do it - answer's simple, ChromePlus is NOT Chrome. It has extra binary code too, and it's not from Google.

To those wanting \"double right click\" - Chrome now fixed their silly issue that prevented this feature, and I put it in DCCT v1.0.8. Please download & enjoy!

This extension offers the following functionalities:
1. Double left click or double right click anywhere inside web page to close the tab (faster than middle click on tab and beats ctrl-w when your left hand's holding a phone or food). Important: if you double left click to select a word, DCCT will not close the tab - no interference with Google Dictionary etc. Double right click always closes tab.
2. An icon that, when clicked, closes current tab. Option's provided to change to duplicate current tab when icon's clicked or hide the icon altogether.
3. No accidental closing of Chrome - option provided to disable closing the last tab of the last Chrome window (Note: click the \"x\" on top right corner of the last window to close Chrome).
4. A feature by user request (optional): Revert the browser behavior when one clicks or ctrl+clicks on a link - clicking link would open link in new background tab instead, while ctrl+click opens link in current tab.

Misc.:
1. If double click is not ideal for you, use the Options page to switch to Triple Clicks. Note: Unlike double-click, triple-click will close the tab even if you triple-clicked on a word.
2. If you accidentally closed a tab - use shift-key + double-click (or triple-click if chosen) to reopen the tab.
3. The icon shows red checkmark if Chrome disabled ALL mouse/keyboard-interacting extensions. A green checkmark's displayed otherwise.
4. Mouseover icon will give you some tips/info.

Known issues:
1. Reverting click/ctrl-click has problems with links with javascripts (on themselves or their parents) - e.g., yahoo mail. It's a very tricky issue and I haven't found a way to deal with it. Maybe a blacklist?
2. If the \"do not close last tab\" feature seems to be unstable for you, try this first - Go to Chrome \"Options\"->\"Basics\" and change \"Home Page\" from \"New Tab\" to \"http://google.com\". Then \"OK\" then try to close the last tab again. It should hopefully
Read more

Source Manifest.json

{ "background": { "page": "background.html", "persistent": false }, "content_scripts": [ { "all_frames": true, "js": [ "js/closetab.js" ], "matches": [ "http://*/*", "https://*/*", "ftp://*/*" ], "run_at": "document_end" } ], "default_locale": "en", "description": "__MSG_extDesc__", "icons": { "128": "icons/128.png", "16": "icons/16.png", "32": "icons/32.png", "48": "icons/48.png" }, "name": "__MSG_extName__", "options_page": "dcct_options.html", "page_action": { "default_icon": "icons/no.png" }, "permissions": [ "tabs", "http://*/*", "https://*/*" ], "update_url": "http://clients2.google.com/service/update2/crx", "version": "1.0.9", "manifest_version": 2}
Read more

Similar Extensions

icon

Double-click to... Extension · Accessibility 10,000+ 9 ★ 12.29KiB

icon

Close Tab by Double Right Click Extension · Productivity 10,000+ 65 ★ 19.36KiB

icon

Close Tabs Extension · Productivity 10,000+ 187 ★ 72.56KiB

icon

CrxMouse: Mouse Gestures Extension · Productivity 10,000+ 11460 ★ 839KiB

icon

Close This Tab Extension · Productivity 10,000+ 67 ★ 237KiB

icon

Close Tab Extension · Accessibility 10,000+ 69 ★ 168KiB

icon

Super Drag for Google Chrome Extension · Productivity 10,000+ 176 ★ 239KiB

icon

Last Tab Keeper Extension · Productivity 10,000+ 69 ★ 15.04KiB

icon

Sexy Undo Close Tab Extension · Productivity 10,000+ 4790 ★ 42.69KiB

icon

Neater Bookmarks Extension · Productivity 10,000+ 921 ★ 166KiB

icon

SimpleUndoClose Extension · Productivity 10,000+ 441 ★ 65.94KiB

icon

Tab Position Options Extension · Productivity 10,000+ 140 ★ 25.16KiB

icon

Super Drag and Go Extension · Productivity 10,000+ 443 ★ 37.56KiB

icon

SimpleUndoRecents Extension · Productivity 10,000+ 110 ★ 60.67KiB

icon

Recover closed tab Extension · Productivity 10,000+ 54 ★ 71.95KiB

icon

Recover Closed Tab Extension · Productivity 10,000+ 33 ★ 125KiB

icon

Undo Closed Tabs Button Extension · Productivity 10,000+ 55 ★ 37.0KiB

icon

TabsPlus Extension · Productivity 10,000+ 245 ★ 50.52KiB

icon

购物党自动比价工具 Extension · Shopping 10,000+ 416 ★ 7.36MiB

icon

Don't Close Window With Last Tab Extension · Productivity 10,000+ 149 ★ 18.05KiB

icon

SimpRead - Reader View Extension · Productivity 10,000+ 2100 ★ 1.2MiB

icon

Quick Bookmarks Menu Extension · Productivity 10,000+ 108 ★ 26.0KiB

icon

Tab Activate Extension · Productivity 10,000+ 260 ★ 6.14KiB

icon

Force Background Tab Extension · Productivity 10,000+ 234 ★ 664KiB

User reviews

icon

Zac (ID: 000000506a47c56e) Voted 4 ★ - Updated 11/01/2023 Little finicky to get started but does what it says it will do. Would be nice to have an option to have the chosen click count/combination work only when clicking on the tab itself. I was just looking for a middle mouse button click-to-close shortcut replacement when my laptop is not docked/my mouse isn't connected and all I have is the touchpad, so I don't mind going up to the tab itself to perform the click procedure to open/close the tab.

icon

Bishop Paul (ID: 0000004f1fc254df) Voted 1 ★ - Updated 06/27/2023 do not work with 114.0.5735.199

icon

Sorma00 (ID: 000000b722b0f2c8) Voted 4 ★ - Updated 05/21/2023 Funziona e mi ci trovo comodo, se funzionasse anche sui TAB sopra in chrome sarebbe perfetta!

icon

Gordon Howe (ID: 000000b2b90f0817) Voted 1 ★ - Updated 12/14/2022 doesn't work on Chrome 108.0.5359.125

icon

Alexander J. Drueppel (ID: 000000ce7bdeba78) Voted 1 ★ - Updated 10/15/2022 Does not work in Chrome Version 106.0.5249.119