This extension clears all but the active tab in your browser.

Latest Version

Version
2.0.1
Update
March 17, 2023
Size
7.18KiB
Developer
flytesoft.org
Category
Users
1,000+
Rating
4.75 ★
Manifest Version
3
Web Store Status
Languages Support
English
See more
Permissions
Tabs
Storage
See more

Clear Tabs Extension

UPDATE v2: Complete code refactor for manifest v3!

Have a lot of open tabs you want to easily close?

Quickly close all of your open tabs except the one in current window with this extension. Easily re-open all of your previously closed tabs.

The first click of the extension icon closes all of open tabs except for the current one in browser window. Made a mistake? Just click again when \"1 R\" is displayed on the extension's icon to re-open the tabs you just closed.

\"Clear Tabs\" allows you to quickly close all open tabs in Chrome, except for your currently selected tab. Just click the extension icon! The extension also counts how many tabs you have open.

Simple, easy, memory efficient, and privacy safe. Built for ease of use and privacy!

Please keep the following features in mind:

Only tabs in the current Chrome window will close, it will not close tabs on other Chrome window sessions.

If you create a new tab, remove a tab, or change window focus, your previously closed tabs will NOT be recoverable.

Tabs are only recoverable when the \"R\" recovery badge is visible in the extension icon.

The recovery feature is for accidental clicks only, not a \"tab saver\" function.

PRIVACY POLICY:
This extension does NOT collect any personal information from the user: We have no way to collect data or store it. It will work with and without an internet connection because it does not need one to work, since data is never sent to any third party.

Permissions used:
TABS: To open and close tabs.
STORAGE: To maintain extension state when background process is suspended.

Version History
2.0.1 -- Overcome Chromium bug where events in chrome extension background service workers are ignored.
2.0.0 -- Complete code re-factor. Update all code with static-typing using ES2020 standards. Now using Manifest v3. Extension now releases memory and processor when not in use.

1.0.0 -- Initial public release.
1.0.1 -- Improper recovery fixed when only two tabs open.
1.0.2 -- Package integrity error.
1.0.3 -- Icon working with Firefox extension.
1.0.4 -- Fixed error: Too many open tabs caused them not to be able to be restored.
- Performance improvement on closing tabs.
- First attempt at getting extension to work with Firefox for Android.
1.0.5 -- Performance improvements.
Finally fixed all bugs that would not allow a restore with a high number of tabs open.
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 3, "name": "Clear Tabs", "short_name": "Clear Tabs", "description": "This extension clears all but the active tab in your browser.", "version": "2.0.1", "icons": { "48": "./icons/ClearTab48.png", "64": "./icons/ClearTab64.png", "96": "./icons/ClearTab96.png", "128": "./icons/ClearTab128.png" }, "background": { "service_worker": "background.js" }, "action": { "default_title": "Clear Tabs", "default_icon": { "32": "./icons/ClearTab32.png", "64": "./icons/ClearTab64.png" } }, "permissions": [ "tabs", "storage" ]}
Read more