Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nv/select-previous-tab

Chrome extension to select previously viewed tab with a keyboard shortcut
https://github.com/nv/select-previous-tab

Last synced: 5 days ago
JSON representation

Chrome extension to select previously viewed tab with a keyboard shortcut

Awesome Lists containing this project

README

        

# Select Previous Tab

[Install from Chrome Web Store](https://chromewebstore.google.com/detail/select-previous-tab/niiagoaiinijbdmegmhjmmemgcihdgbe)

Select previously viewed tab by pressing Alt-Q (Ctrl-Q on Mac). The shortcut can be configured.

It's inspired by [clut-chrome-extension](https://github.com/harshayburadkar/clut-chrome-extension) but Select Previous Tab has:

- No tracking
- No excessive permissions
- Doesn't consume any memory when not used
- 30 lines of code instead of 300+

## Change the keyboard shortcut to Ctrl-Tab

Chrome's UI doesn't let set Ctrl-Tab, but there's a workaround.

1. Open chrome://extensions/shortcuts
2. Open Chrome DevTools Console
3. Paste this code
```javascript
chrome.developerPrivate.updateExtensionCommand({
extensionId: "niiagoaiinijbdmegmhjmmemgcihdgbe",
commandName: "_execute_action",
keybinding: "Ctrl+Tab"
});
```
4. Press Enter to run it