Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/reblws/tab-search

WebExtension for keyboard-accessible tab management
https://github.com/reblws/tab-search

addon close-tabs javascript tab-management tabs webextension webextensions

Last synced: 2 months ago
JSON representation

WebExtension for keyboard-accessible tab management

Awesome Lists containing this project

README

        

![logo-96](https://user-images.githubusercontent.com/9971847/31857881-e872b1e2-b6b6-11e7-9886-494e8a338a25.png)

# TabSearch

Easy tab search & switching. This WebExtension provides a keyboard-accessible search interface for managing your open tabs.

[Get it from Mozilla Addons!](https://addons.mozilla.org/en-US/firefox/addon/tab_search/)

![screenshot](https://user-images.githubusercontent.com/9971847/36081161-401e4af4-0f69-11e8-910f-ad89d44a7b5a.png)

## Shortcuts

| Shortcut | Description |
| --- | --- |
| Win/Linux: Ctrl + Shift + F / Mac: Cmd + Shift + L | Toggle extension |
| Enter | Open selected tab or first in list if not selected |
| | Select previous tab |
| | Select next tab |
| Ctrl + Backspace | Delete a tab |
| Alt + R | Refresh tab
| Alt + P | Pin tab
| Ctrl + C | Copy Tab URL
| Alt + Shift + D | Delete all duplicate tabs
| Alt + M | Mute (only if tab is audible)

## Usage

These instructions should get you up to compiling with and/or developing with the source. If you just want to use the extension and are on Firefox, you should get the extension from [AMO](https://addons.mozilla.org/en-US/firefox/addon/tab_search/).

Compiling the source requires [node.js](https://nodejs.org/).

Step 0: If you plan on sending pull-request, you should fork the repository.

Step 1: Clone the [TabSearch](https://github.com/reblws/tab-search) repository.
```
git clone https://github.com/reblws/tab-search.git
```
If you forked the repo, just replace the clone url with your own.

Step 2: Navigate to the root of the directory you cloned and install the required dependencies.

```
npm install
```

Step 3: You'll need to compile the changes from `src/` into the `dist/` folder. The following scripts are available to help with this

```
# Starts a live server watching for changes in `src/` and outputs them to `dist/`
# NOTE: Need to restart this command if changing one of the manifest files
npm start

# Opens Firefox with add-on installed from the files in `dist/`, automatically reloads the extension on each change found in `dist/`
npm run watch:firefox
```

Step 4: Build for production
```
npm run build:firefox
```

If you want to build or watch for Chrome just use `start:chrome` or `build:chrome` instead. This just changes the manifest.json file so it doesn't raise any errors. There's no `watch` command for Chrome yet.

## Changelog

See [CHANGELOG.md](CHANGELOG.md).

## License
MIT