Tab Limit

What is Tab Limit?

A simple extension to limit the number of tabs open in Safari.

If you try to open too many tabs (above the “Tab Limit”), Tab Limit will automatically close the left-most (non-“safe”) tab.

This keep your browser windows uncluttered, memory use and resume times low.

Tab Limit has two configurable options:

a) Maximum number of tabs per window (Tab Limit)

b) Number of left-most tabs to keep (Safe Tabs)

What are “Safe tabs”?

If you try to open a new tab, once the Tab Limit is reached, the extension will silently and automatically close a tab, to keep the number of open tabs at the Tab Limit. By default, the left-most tab is closed. If you want some tabs to be permanent, and safe from automatic closure, increase the number of Safe Tabs  (option b). The safe tabs are tabs which will never auto-close, instead the first tab to the right of the Safe Tabs, will be closed.

The safe tabs are always the left-most tabs in a window. You can rearrange tabs in Safari to choose which tabs are safe.


Download the extension here.

Credits: This extension was inspired by the No More Tabs extension in Chrome. This is my first Safari Extension and I found the public source of the OpenAtEnd extension very helpful in getting started. Thanks to Scott Jangro at for beta testing, suggesting the “Safe Tabs” feature and providing a very useful site.

Warning: This extension will close tabs silently and without requiring a confirmation!

The extension may not be compatible with other extensions which manipulate tabs, but it is compatible with  OpenAtEnd.


I recommend that you use OpenAtEnd in conjunction with Tab Limit. Then the tab which auto closes will (usually) be the oldest tab…

Please leave feedback in the comments below.

Posted in Safari Extension | 8 Comments