# Container Sentry

> Open urls in a container by default, with exceptions for specific sites. It also allows adding regexes to match urls with containers.

Canonical page: [https://chrome-stats.com/d/container-sentry](https://chrome-stats.com/d/container-sentry)

## Overview

- **ID:** `container-sentry`
- **Platform:** Firefox
- **Type:** Firefox add-on
- **Status:** Available
- **Publisher:** abg1979
- **Category:** privacy-security
- **Daily users:** 6
- **Weekly downloads:** 2
- **Rating:** 5.00 / 5 (1 ratings)
- **Version:** 1.0.10
- **Last updated:** 2026-08-23
- **First published:** 2024-08-28
- **Size:** 49 KB
- **Data as of:** 2026-09-18
- **Store listing:** [Firefox Add-ons Store](https://addons.mozilla.org/firefox/addon/container-sentry/)
- **Website:** [https://github.com/abg1979/container-sentry/](https://github.com/abg1979/container-sentry/)

## Description

Container Sentry is a <a href="https://prod.outgoing.prod.webservices.mozgcp.net/v1/d2b5b5834517663e0bfd19d62fbbecbdee454fbe6ed7b339be74db18601c8767/https%3A//www.mozilla.org/firefox/" rel="nofollow">Firefox</a> extension to open any URL (not just those with a specific domain) in a multi-account container. It also allows
to specify regular expressions for urls which are allowed to be loaded outside a container.

This was needed because the VPN provider used by my employer opens a local html page which redirects to the authentication page.
The <a href="https://addons.mozilla.org/en-US/firefox/addon/always-in-container" rel="nofollow">Always in Container</a> extension intercepts this request and breaks the context which in the end fails the logon to VPN.

The extension consists of a <a href="https://prod.outgoing.prod.webservices.mozgcp.net/v1/9a71f9dc583506b4749b2e8a4108dcd88edc114e8e7a9f5812508f06130228e6/https%3A//developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Implement_a_settings_page" rel="nofollow">settings page</a> (<code>src/settings/</code>) built with <a href="https://prod.outgoing.prod.webservices.mozgcp.net/v1/a21b432ab5347379e25a73f6dbd1ca9faab811f23916f690d3f9c4439c4b0074/https%3A//vuejs.org/" rel="nofollow">Vue.js</a>, and a <a href="https://prod.outgoing.prod.webservices.mozgcp.net/v1/31b216a102a304c68b80d3d86cfd964d8ed43c6f7118126c22cbff34b867200c/https%3A//developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Intercept_HTTP_requests" rel="nofollow">background script</a> (<code>src/background/</code>).
The settings page allows users to define regex patterns that, when matched against a URL loaded in the browser, will open that URL in a specified
container tab. The background script listens for update events in browser tabs and performs the regex matching and opening of container tabs.

Firefox's <a href="https://prod.outgoing.prod.webservices.mozgcp.net/v1/1d3a98a495d1117e53285f230b148e305a7f5e752f2122f08edc9e7a8abf8ad5/https%3A//support.mozilla.org/kb/containers" rel="nofollow">Multi-Account Containers</a> extension provides similar functionality out of the box, but only allows for matching URLs based on 
a domain. This extension allows for regex matching against the whole URL as opposed to exact matches based on domain.

How to use

Any url patterns which are to be used with this extension should not have their hostnames assigned to the MAC addon.

Exceptions

Use the settings page to define url pattern exceptions for which the extension should not try to contain them.
However if the MAC addon has the host configured to open in a container it may still try to open it in the assigned container.

Pattern Container Mappings

Use the settings page to define url pattern to container mappings. It is possible that some of the intermediate pages may have to either
added to the exceptions list. For example, for opening a corporate github repo in a work container, the github login page may redirect to 
the corporate login page. In this case, the itermediate <a href="https://prod.outgoing.prod.webservices.mozgcp.net/v1/4aac7f5c5d5f8b8f8b098f1e109a0fcb883117cd0706fabca895234841993213/http%3A//github.com/enterprises" rel="nofollow">github.com/enterprises</a> page has to be added to the exceptions list.

Here is the configuration which worked for me:
<ul><li>Exceptions</li><li><code>.+<a href="https://prod.outgoing.prod.webservices.mozgcp.net/v1/058834b696f17838c647fae16746a90b0b16cd9c97a38bea77f2e1e37ff9f6c7/http%3A//github.com/enterprises%2B" rel="nofollow">github.com/enterprises+</a></code></li><li><code>.+corporate_login_page_url.+</code> # This was needed for the VPN to work anyway.</li><li>Pattern Container Mappings</li><li><code>.+<a href="https://prod.outgoing.prod.webservices.mozgcp.net/v1/18292d9c1899dd2b453ea9e3c1375587569f07a1d91694af6d865f8eab086cdb/http%3A//github.com" rel="nofollow">github.com</a>.+corporate_github_org.+</code> -&gt; Work</li><li><code>.+<a href="https://prod.outgoing.prod.webservices.mozgcp.net/v1/18292d9c1899dd2b453ea9e3c1375587569f07a1d91694af6d865f8eab086cdb/http%3A//github.com" rel="nofollow">github.com</a>.+</code> -&gt; Code</li></ul>

## Rankings

- #41,176 — Overall
- #17 — data entry
- #96 — contain

## Permissions and access

### Permissions

- `tabs`
- `contextualIdentities`
- `cookies`
- `storage`
- `<all_urls>`
- `management`
- `webRequestBlocking`
- `webRequest`

## Safety

- **Risk impact:** High risk impact
- **Risk likelihood:** Moderate risk likelihood

### Analysis details

- Grants access to browser tabs, which can be used to track user browsing habits and history, presenting a privacy concern.
- This extension was recently updated in the past month. New updates may not be stable or safe.

> Some risk analysis details are omitted from this free response. [Upgrade to view the full analysis](https://chrome-stats.com/pricing).

## Similar extensions and apps

- [ContainerGate](https://chrome-stats.com/d/containergate) — 1 users
- [Open URLs in Container](https://chrome-stats.com/d/open-urls-in-container-fork) — 5 users, 4.20 / 5
- [Container Redirect](https://chrome-stats.com/d/container-redirect) — 42 users, 5.00 / 5
- [Containerise](https://chrome-stats.com/d/containerise) — 1,900 users, 4.39 / 5
- [Open URLs in Container](https://chrome-stats.com/d/open-urls-in-container) — 37 users, 4.57 / 5
- [Containerise CE sync](https://chrome-stats.com/d/containerise-ce-sync) — 5 users, 5.00 / 5
- [Open external links in a container](https://chrome-stats.com/d/open-url-in-container) — 1,883 users, 4.90 / 5
- [Containacious](https://chrome-stats.com/d/containacious)
- [Privacy Containers](https://chrome-stats.com/d/privacy-containers) — 1 users
- [Onion Container](https://chrome-stats.com/d/onion-container) — 4 users
- [Container Traffic Control](https://chrome-stats.com/d/ctc) — 15 users, 5.00 / 5
- [Container Picker](https://chrome-stats.com/d/container-picker) — 1 users

---

Source: [Chrome-Stats](https://chrome-stats.com/d/container-sentry)
