Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/nv/select-previous-tab
- Owner: NV
- License: mit
- Created: 2024-05-17T00:34:14.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-09-14T23:02:45.000Z (3 months ago)
- Last Synced: 2024-10-30T07:01:55.917Z (about 2 months ago)
- Language: JavaScript
- Size: 5.86 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.markdown
- License: LICENSE.txt
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