Tired of right-clicking on the active tab in Chrome (or any Chromium-based browser) million times a day? Add the extension I’ve built and make your life easier by just pressing the shortcuts:
– Press Ctrl+Q to close other tabs.
– Press Ctrl+Y to close tabs to the right.
– Press Ctrl+Shift+Y to close tabs to the left.
– Press Ctrl+Space to duplicate tab.
These don’t collide with any other Chrome default shortcuts while providing convenience at the same time. The extension requires no special permissions.
Unlike some other solutions available in the Web Store that may feel sluggish at times these will always execute the action and never fail (regardless of whether the content of the active page has already been fully loaded or not).
You might have noticed that the Web Store has removed a couple of extensions that were dealing with shortcuts because they haven’t been updated to manifest version 2.
I was wondering how it is possible that such basic actions are not supported by keyboard shortcuts and just couldn’t find any simple, lightweight, clean and reliable solution that would have covered my needs. There are a few workarounds but not quite what I could be happy about. Either they’re not responsive at all times or the chosen keys are not comfortable.
Eventually, I concluded that enough is enough and decided to do it myself. This is possibly one of the simplest and smallest extensions being less than 4 KB in weight, (excluding icons). Just a few lines of code but what a relief!
Frankly, I did this just for myself. But it won’t do any harm if I share it with the world. And if you care about productivity you might find it handy. Enjoy.
Get the extension in the Web Store (link to a QWERTZ version).
NOTE: Look up the QWERTY (RED) version of the extension if you’re using an English (or other QWERTY) keyboard.
You can find the original .crx files in the Download section.
Note: You can assign any other shortcuts according to your liking. Once the extension is added, just go to Settings –> More tools –> Extensions (or just type chrome://extensions/ in the address bar), then scroll all the way down and click on “Keyboard shortcuts” on the right side at the bottom. Then, under Tab Shortcuts by PaganCode… you can insert your own shortcuts.
Note: The extension will work in any Chromium-based browser, such as Cent Browser, Iridium, SRWare Iron etc. and, of course, in Chromium itself.