Firefox extension to make containers persistent and sticky. New tabs inherit the container of the currently active tab, mimicking the default behavior in Google Chrome browser.
Install this add-on from Mozilla
By default, Firefox opens all new tabs and bookmarks in the "No Container" state, requiring users to manually sort tabs into their respective containers. Persistent Containers intercepts the creation of new tabs and automatically routes them into the same container as the currently active tab.
This works similar to Sticky Containers but better!
- When opening bookmarks and external links, intercepts the new tab into the current tab's container.
- Opens new tab/bookmarks right next to the current tab within the same tab group, by default.
- Includes a toolbar options to toggle whether new tabs open immediately next to the current tab or at the end of the tab row and whether new tabs should be within the same tab group.
- Use shortcut
Alt+Tto open a new tab without any container, right next to the current tab. - Automatically ignores Private Browsing windows, session restores, and new window creations to prevent browser conflicts and memory leaks.
- Multi-Account Containers extension can set explicit rules for different URLs. This extension respects these rules.
- Toolbar Menu: Click the extension icon in the Firefox toolbar to access the settings menu. Here you can toggle the "Open next to current tab" preference.
- Keyboard Commands:
Ctrl+T: Open a new tab with current container (by default).Alt+T: Open a new tab without container. (This shortcut can be customized in Firefox's Add-on settings).
- Known Limitation: This extension cannot distinguish When selecting "No Container" tab Firefox creates the tab identically to a regular
Ctrl+T. The tab will be opened in the current container. UseAlt+Tto open a new tab without a container.
tabs: To monitor tab creation and manage tab URLs.contextualIdentities: To read and assign container IDs (cookieStoreId) to new tabs.cookies: Required by Firefox to programmatically create tabs inside isolated containers.storage: To save the user's preferences in browser memory.
For testing, this extension must be loaded as a temporary add-on for testing and development.
- Download or clone this repository to your local machine.
- Open Firefox and navigate to
about:debuggingin the address bar. - Click on This Firefox in the left-hand sidebar.
- Click the Load Temporary Add-on... button.
- Select the
manifest.jsonfile from your project directory. - Click on the Persistent Containers icon in your toolbar.
