Skip to content

Chrome extension that detects when a duplicate tab is opened and activates already existing tab

License

Notifications You must be signed in to change notification settings

NFTthat/prevent-duplicate-tabs-chrome-extension

 
 

Repository files navigation

"Prevent Duplicate Tabs" Chrome extension

Chrome extension that detects when a duplicate tab is opened and activates already existing tab. You can temporary turn it off by clicking extension's icon. Icon badge is showing the number of prevented duplicates.

How to install

  1. (optional, for people with healthy paranoia) This project is very simple, so just look at its files here https://github.com/Litee/prevent-duplicate-tabs-chrome-extension. Check two files in src folder, manifest.json and popup.html.
  2. Clone extension to your machine - e.g. git clone https://github.com/Litee/prevent-duplicate-tabs-chrome-extension.git
  3. Build the project using npm run build
  4. Open chrome://extensions tab in your Chrome browser
  5. Activate developer mode (required for next step)
  6. Install extension as unpacked

How to update

  1. (optional, for people with healthy paranoia) This project is very simple, so just look at its files here https://github.com/Litee/prevent-duplicate-tabs-chrome-extension. Check two files in src folder, manifest.json and popup.html.
  2. Run git pull from within the extension project folder.
  3. Build the project using npm run build.
  4. Go to the extension view in Chrome and click "Update" button.

TODOs

  • Support white lists.
  • An alternative strategy: ask about whether to de-duplicate.
  • Allow to safely duplicate tabs via context menu even when dedupe is on.

Disclaimers

About

Chrome extension that detects when a duplicate tab is opened and activates already existing tab

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 82.4%
  • HTML 17.6%