This is a simple Google Chrome extension that allows you to quickly switch between your open tabs using custom keyboard shortcuts. It is designed for users who prefer to use Alt + a number (1 through 9) instead of the default Ctrl + a number.
Since this extension doesn't have a suggested key combination, you must manually set up your preferred hotkeys after installation.
- Create the Extension Folder: Create a new folder on your computer and name it
switch-tab-hotkeys. - Add the Files: Inside this new folder, create the two required files:
manifest.jsonandbackground.js. - Copy the Code: Copy the
manifest.jsonandbackground.jscode into their respective files. Themanifest.jsoncode is provided in your editor. - Load the Extension in Chrome:
- Open Google Chrome and navigate to the extensions management page by typing
chrome://extensionsin the address bar. - In the top-right corner, enable Developer mode using the toggle switch.
- Click the Load unpacked button that appears.
- Select the
switch-tab-hotkeysfolder you created.
- Open Google Chrome and navigate to the extensions management page by typing
- Configure Keyboard Shortcuts:
- While still on the
chrome://extensionspage, click the main menu icon (the three horizontal lines) in the top-left corner. - Select Keyboard shortcuts from the menu.
- Find the "Switch Tab - Hotkeys" extension in the list.
- Click the pencil icon next to each command (e.g., "Switch to tab 1") and press the
Alt+1key combination you want to use. - Repeat this process for all nine commands (
Alt+2,Alt+3, etc.).
- While still on the
Once you have configured the shortcuts, the extension is ready to use!