A Google Chrome extension that automatically pins tabs based on the URL
This extension was heavily inspired by the URL Pinner extension. Unfortunately it seems as though that extension is no longer compatible with the latest versions of Chrome, and I wanted an excuse to develop an extension.
- Chrome: Install the extension from here.
- Firefox: TBD
The options page is straightforward. Add a rule, select the matching behavior, and then enter either a URL, domain, or regular expression to match against.
If a tab loads a URL that matches any of your rules, it will be automatically pinned. If you later unpin that tab, it will stay that way.
Options are stored via chrome.storage.sync
, so they should sync to your Google
account across multiple Chrome installs.
Clicking the extension icon will force pin all tabs that match a rule, even if that tab has previously been unpinned.
Node.js and npm are required for building this extension. Optionally, you can use yarn instead of npm.
This extension uses the following libraries at runtime:
For development / building:
- Clone this repo
- Run
yarn
ornpm install
- Run
yarn build
ornpm run build
The extension output will be in ./dist
Running yarn dev
or npm run dev
will start up webpack in "watch" mode.
Changes to files in ./src
will be automatically re-compiled and bundled.