Limit the maximum number of tabs that can be open at the same time.

Latest Version

Version
2.0.4
Update
August 19, 2024
Size
96.18KiB
Developer
xtab.app
Category
Users
40,000+
Rating
3.86508 ★
Manifest Version
3
Web Store Status
Languages Support
English
See more
Permissions
Tabs
Storage
See more

xTab Extension

xTab is a Chrome extension that lets you limit the maximum number of tabs that can be open at one time.

You can set the tab limit to any number and choose what tab should be removed when you hit that limit:

- Least recently used (default)
- Least accessed
- Oldest

You can alternatively block new tabs from opening completely once the limit has been reached.

Pinned tabs, tabs playing audio, and tabs that you have never visited (opened in the background) will not be closed.

If you are looking to install in an enterprise environment and customize settings using a group policy please contact us here: https://xtab.app

Note that after the extension is installed, if you do not change the default settings, it will close any tabs you have open beyond a 20 tab limit. For example, if you have 50 tabs open when the extension is installed, the next tab you open will remove 30 tabs. You can avoid this behavior by changing the default settings as soon as it is installed.

NOTE that a new tab opens when the extension is updated to version 2.0. This is a one time thing that is required to transfer the settings over to the new version which uses a different storage mechanism. This is required for changes related to manifest v3.

Changes

v2.0.4
- Fixes issue where if the maximum number of tabs is set to 0, you may not be able to open a new browser window

v2.0.3
- Fixed “Block without warning” behavior on Microsoft Edge when using the `block` algorithm

v2.0.2
- Fixed issue introduced in version 2.0.0 where in some cases you may be allowed to open more tabs than your limit and then when you go to open the next one, it may close tabs that do not match your current setting. This has to do with the manifest v3 updates mandated by Google. Extensions have to use service workers and the workers get automatically killed every five minutes. This update preserves the state in session storage so when the service worker starts again, it works properly
- Fixed issue where the migration tab may not run if you are at your tab limit and using `block` algorithm
- Fixed issue where sometimes tabs may close at browser startup when using `block` algorithm and “block without warning”
- Fixed styles in the xTab popup

v2.0.1
- Make sure migration tab launches in the background

v2.0.0
- Updated extension to support manifest v3
- Updated storage to use chrome.storage API instead of localStorage directly
- Changed default behavior when using “block” algorithm to block without warning (This change in v1.0.0 was questionable and a little confusing so this restores the previous behavior)

v1.0.1
- Updated extension to remove advertisement in favor of a donation link

v1.0.0
- Rearchitected to support additional functionality and custom builds.
- Updated the pop up UI to make it simpler to understand what the different options do
- Added an option to prevent tabs that are playing audio from being closed by the extension (enabled by default)
- Added an option to recycle existing tabs. This means that instead of closing an old tab it will reuse the old tab and move it into the new position. This allows you to use the back button to get back to a tab that has been closed (disabled by default)
- Added a page that shows up in place of a new tab if you have the extension set to block new tabs from opening (enabled by default)
- Added an option to block tabs from opening without showing a page (disabled by default)
- Added new xTab logo to popup menu
- Updated extension icon
- Updated extension logo
- Improved handling of tabs you have never been to
- Decreased amount of time until a tab is considered active to prevent cases where sometimes a tab doesn’t get closed even though you have been to it
- Reduced number of options in tab limit dropdown

v0.2.1
- Updated copy in popup to be more clear

v0.2.0
- Added option to block new tabs from opening instead of auto closing an older tab
- Handled cases where the tab id could change for an existing tab
- Improved handling of tabs you have never been to so they are less likely to be closed in different modes

v0.1.6
- Fixed issue that would cause this extension to sometimes not work if a configuration value was missing in local storage

v0.1.5
- Added timer to only consider a tab active after it has been open for a few seconds
- Updated to handle tabs that were open before the extension was installed.

v0.1.4
- Updated background page to be persistent

v0.1.3
- Fixed issue where sometimes tabs you haven’t been to could still be closed.

v0.1.2
- Updated to prevent closing tabs you have never been to (for example if command clicking to open tabs in the background)

v0.1.1
- Fixed issue where sometimes the active tab would be closed
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 3, "name": "xTab", "author": "Craig Campbell", "version": "2.0.4", "description": "Limit the maximum number of tabs that can be open at the same time.", "icons": { "16": "icons/xtab32.png", "48": "icons/xtab96.png", "128": "icons/xtab256.png" }, "permissions": ["tabs", "storage"], "storage": { "managed_schema": "schema.json" }, "action": { "default_title": "xTab", "default_icon": "xtab40.png", "default_popup": "popup.html" }, "background": { "service_worker": "dist/xtab.js" }, "incognito": "split", "minimum_chrome_version": "88"}
Read more

Similar Extensions

icon

Tab-less Extension · Productivity 40,000+ 48 ★ 20.83KiB

icon

Tab Limiter Extension · Productivity 40,000+ 33 ★ 159KiB

icon

Delayed Gratification Extension · Productivity 40,000+ 65 ★ 55.97KiB

icon

Max Tabs Extension · Accessibility 40,000+ 4 ★ 35.65KiB

icon

3 Tabs Only Extension · Productivity 40,000+ 17 ★ 37.33KiB

icon

TabZolo Extension · Productivity 40,000+ 15 ★ 49.74KiB

icon

DF Tube (Distraction Free for YouTube™) Extension · Productivity 40,000+ 1051 ★ 84.13KiB

icon

Clutter Free - Prevent duplicate tabs Extension · Productivity 40,000+ 203 ★ 411KiB

icon

Tab limit Extension · Productivity 40,000+ 8 ★ 8.98KiB

icon

HabitLab Extension · Productivity 40,000+ 31 ★ 5.49MiB

icon

RescueTime for Chrome and Chrome OS Extension · Productivity 40,000+ 244 ★ 156KiB

icon

Tabs Outliner Extension · Productivity 40,000+ 3291 ★ 1.49MiB

icon

'Nuff Tabs Extension · Productivity 40,000+ 21 ★ 13.35KiB

icon

Close Tabs Extension · Productivity 40,000+ 187 ★ 72.56KiB

icon

Grayscale the Web - Save Sites Extension · Productivity 40,000+ 78 ★ 45.45KiB

icon

Tab Wrangler Extension · Productivity 40,000+ 927 ★ 386KiB

icon

Intention - Stop Mindless Browsing Extension · Productivity 40,000+ 886 ★ 3.17MiB

icon

Tab Organizer Extension · Productivity 40,000+ 40 ★ 8.1KiB

icon

Strict Workflow Extension · Productivity 40,000+ 1172 ★ 187KiB

icon

Tab Sorter Extension · Productivity 40,000+ 79 ★ 404KiB

icon

Webtime Tracker Extension · Productivity 40,000+ 680 ★ 37.95KiB

icon

Keepin' Tabs – tabs manager Extension · Productivity 40,000+ 92 ★ 967KiB

icon

Quick Tabs Extension · Productivity 40,000+ 544 ★ 136KiB

icon

Pause - Stop Mindless Browsing Extension · Productivity 40,000+ 116 ★ 806KiB

User reviews

icon

aki toshi (ID: 000000c71daa03ea) Voted 5 ★ - Updated 05/29/2024 数日前から全く機能しなくなりました。xTabの設定を変えてみたり、xTabの再インストール等試しましたが依然使えないままです。 便利な拡張機能なので、この問題が少しでも早く解決することを願っています。 chromeのバージョン:125.0.6422.113(Official Build) (64 ビット) xTabのバージョン:2.0.2

icon

Daniel Oliveira (ID: 000000fcd2680451) Voted 4 ★ - Updated 09/13/2023 Your extension has a bug. If you close your browser in unconventional ways, such as using the task manager, and you have more than one window open, when you reopen your browser later, probably all other windows are going to be closed except one. If your computer turns off for any reason and you restart it, Chrome will show you a message saying that you didn't close the browser correctly. When you click on the 'restore' button, the same thing that happens when you close your browser with the task manager occurs. So, I think it would be useful if the extension had a history or something similar. Alternatively, if it's easy for the developer, they could just fix that bug. If you need help understanding how this bug has affected me, just let me know.

icon

Brian (ID: 000000a827b8737a) Voted 1 ★ - Updated 05/16/2023 works ok until you lose all your tabs

icon

Vishw (ID: 0000001e0016c472) Voted 5 ★ - Updated 12/19/2022 A great extension! has really helped boosting my productivity, but a feature that needs to be added, one can just open a new window and have more tabs open that there should be as of extension - it does block all of those opened in the same window but all it takes is opening a new window to bypass it, overall really helpful though, thanks!

icon

Dat Nguyen Ba (ID: 000000a0e4890e0f) Voted 5 ★ - Updated 07/19/2022 hey really nice i love it