MCPcopy Index your code
hub / github.com/BinaryMuse/chrome-fast-tab-switcher

github.com/BinaryMuse/chrome-fast-tab-switcher @v1.1.2

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.1.2 ↗ · + Follow
6 symbols 11 edges 20 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Chrome Fast Tab Switcher

This Chrome extension allows you to switch between Chrome tabs in your active window quickly using your keyboard.

You can install this extension from the Chrome Web Store if you do not wish to install it from source.

Demo

You may also be interested in a blog post I wrote about building this extension with React.

Usage

The default keyboard shortcut is Ctrl+Shift+Comma (Cmd+Shift+Comma on OS X). You can, and may need to, adjust your keyboard shortcuts via the link at the very bottom of your Chrome extensions page at chrome://extensions.

Alt+a (Option+a on OS X) can be used to toggle the "Show tabs from all windows" option.

Installing from Source

  • Visit chrome://extensions/
  • Ensure Developer mode is checked
  • Click Load unpacked extension...
  • Locate and select the directory with the manifest.json file in it

Hacking

You must have Node.js installed to build the extension.

  1. Install the dependencies: npm install
  2. Build the extension from src/js into build/js:
  3. Build once: npm run build
  4. Build continuously as files change: npm run watch

The entry point for the extension's background page is src/js/background.js. It is responsible for communicating the list of open tabs to the client when requested.

The entry point for the extension's front-end is src/js/client.jsx. The client is written using React.

Both these files are bundled using Browserify (running a JSX transform for the client scripts) into build/js. At runtime, the extension uses only files from build and vendor.

Tests

Run the test suite with npm test.

Run JSHint on the source with npm run jshint.

Core symbols most depended-on inside this repo

localStorageWith
called by 4
test/background/tab_history_test.js
windowsWith
called by 4
test/background/tab_history_test.js
callback
called by 4
src/js/util.js
sections
called by 1
src/js/client/string_spanner.js
simpleScorer
called by 0
test/client/tab_filter_test.js
windowsWith
called by 0
test/background/window_manager_test.js

Shape

Function 6

Languages

TypeScript100%

Modules by API surface

test/background/tab_history_test.js2 symbols
test/client/tab_filter_test.js1 symbols
test/background/window_manager_test.js1 symbols
src/js/util.js1 symbols
src/js/client/string_spanner.js1 symbols

For agents

$ claude mcp add chrome-fast-tab-switcher \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact