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: 3 months 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 (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-14T23:02:45.000Z (10 months ago)
- Last Synced: 2025-02-10T01:46:57.353Z (5 months ago)
- Language: JavaScript
- Size: 5.86 KB
- Stars: 2
- 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