Limit the number of open tabs. Automatically close previous tabs.
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