Skip to content
프로젝트

BinaryMuse/chrome-fast-tab-switcher

GitHub에서 보기

소개

:keyboard: React-based extension to quickly switch to other open Chrome tabs with just your keyboard

웹 및 앱 개발

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

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:
  • Build once: npm run build
  • 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.

관련 프로젝트 살펴보기

불러오는 중…