Firefox 浏览器附加组件
  • 扩展
  • 主题
    • 适用于 Firefox
    • 字典和语言包
    • 其他浏览器网站
    • 适用于 Android 的附加组件
登录
Container Sentry 预览

Container Sentry 作者: abg1979

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

5 (1 reviews)5 (1 reviews)
5 个用户5 个用户
您需要 Firefox 来使用此扩展
下载 Firefox 并安装扩展
下载文件

扩展元数据

关于此扩展
Container Sentry is a Firefox 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 Always in Container extension intercepts this request and breaks the context which in the end fails the logon to VPN.

The extension consists of a settings page (src/settings/) built with Vue.js, and a background script (src/background/).
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 Multi-Account Containers 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 github.com/enterprises page has to be added to the exceptions list.

Here is the configuration which worked for me:
  • Exceptions
  • .+github.com/enterprises+
  • .+corporate_login_page_url.+ # This was needed for the VPN to work anyway.
  • Pattern Container Mappings
  • .+github.com.+corporate_github_org.+ -> Work
  • .+github.com.+ -> Code
评分 5(1 位用户)
登录以评价此扩展
目前尚无评分

已保存星级评分

5
1
4
0
3
0
2
0
1
0
阅读全部 1 条评价
权限与数据详细了解

必要权限:

  • 监控扩展使用情况和管理主题
  • 获取浏览器标签页
  • 访问您在所有网站的数据
更多信息
附加组件链接
  • 主页
  • 用户支持网站
  • 支持邮箱
版本
1.0.6
大小
44.13 KB
上次更新
16 小时前 (2025年9月11日)
相关分类
  • 隐私和安全
许可证
Mozilla 公共许可证 2.0
版本历史
  • 查看所有版本
标签
  • container
  • privacy
  • vpn
添加到收藏集
举报此附加组件
1.0.6 的发布说明
Bug fix for redirects
abg1979 制作的更多扩展
  • 目前尚无评分

  • 目前尚无评分

  • 目前尚无评分

  • 目前尚无评分

  • 目前尚无评分

  • 目前尚无评分

转至 Mozilla 主页

附加组件

  • 关于
  • Firefox 附加组件博客
  • 扩展工坊
  • 开发者中心
  • 开发者政策
  • 社区博客
  • 论坛
  • 报告缺陷
  • 评价指南

浏览器

  • Desktop
  • Mobile
  • Enterprise

产品

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • 隐私
  • Cookie
  • 法律

除非另有注明,否则本网站上的内容可按知识共享 署名-相同方式共享 3.0 或更新版本使用。