Limit the number of open tabs. Automatically close previous tabs.
'Nuff Tabs Extension
Limit the number of open tabs. Tabs are automatically closed when you surpass the limit, based on a rule you can specify.
Options allow to
1. set the tab limit
2. specify the discard rule
3. leave the pinned tabs untouched
4. show the current number of tabs in the icon
The following discard rules are included: Either close the oldest tab, the newest tab (avoids auto-closing tabs), the least recently used tab, the least frequently used tab, or a random tab.
Source code: https://github.com/steven2358/NuffTabs
Read more
Options allow to
1. set the tab limit
2. specify the discard rule
3. leave the pinned tabs untouched
4. show the current number of tabs in the icon
The following discard rules are included: Either close the oldest tab, the newest tab (avoids auto-closing tabs), the least recently used tab, the least frequently used tab, or a random tab.
Source code: https://github.com/steven2358/NuffTabs
Source Manifest.json
{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 3, "name": "'Nuff Tabs", "version": "2.0.0", "description": "Limit the number of open tabs. Automatically close previous tabs.", "author": "Steven Van Vaerenbergh", "permissions": [ "tabs", "storage" ], "background": { "service_worker": "background.js" }, "action": { "default_popup": "popup.html", "default_icon": { "16": "i/icon16.png", "48": "i/icon48.png", "128": "i/icon128.png" } }, "options_page": "options.html", "icons": { "16": "i/icon16.png", "48": "i/icon48.png", "128": "i/icon128.png" }, "web_accessible_resources": [ { "resources": ["whatsnew.html"], "matches": [""] } ]}
Read more