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

container commander 作者: sapn95

Decides which container a tab opens in — once, at the moment the tab is created, from a policy file you own. Never re-routes a flow that is already under way.

可在 Android™ 版 Firefox 上使用可在 Android™ 版 Firefox 上使用
0(0 条评价)0(0 条评价)
下载 Firefox 并安装扩展
下载文件
扫码在 Android 版 Firefox 中打开此扩展

扩展元数据

屏幕截图
关于此扩展
Firefox containers are excellent and their tooling fights itself. Run several container add-ons together and each answers the same question from its own list, none of them able to see who asked, and the tie-break is a dialog asking you to settle it by hand.

container commander is the arbiter that gives the question one answer.

THE ONE IDEA

A container is a property of a flow, not of a URL.

A sign-in host is shared by every identity you own. A federation endpoint is shared by every application in a tenant. A cloud console hostname carries the region, not the account. No pattern over those strings can answer "which identity is this", because the string genuinely does not know — and a rule that tries will pull a sign-in from one identity into another halfway through, which is a failure that reports itself as something else entirely.

So the decision happens exactly once, at a flow's first request, from the best evidence available. After that the flow is inherited, untouched, to the end.

HOW IT DECIDES
  1. Claims — a cooperating extension said "this tab is mine" before it created it. Outranks everything.
  2. Inheritance — a redirect, a link click, or a container you chose by hand is left alone without any rule being read.
  3. Entry rules — first match over your policy, for tabs that genuinely begin a flow.
  4. Leave alone — a named outcome, not an else-branch. Everything unknown, ambiguous or misconfigured lands here.

WHAT IT WILL NOT DO

• Never re-routes a navigation already under way, so a sign-in cannot be pulled between identities.
• Never reopens a form submission: a container change is close-and-reopen, and the body would be lost.
• Never asks when it is unsure. Unknown means it behaves as though it were not installed.
• Keeps no writable rule store of its own, so nothing it holds can drift or come back after you delete it.

THE POLICY IS YOURS

There are no rules in this add-on and no settings screen to add one. The policy arrives read-only through managed storage, from a file your own configuration repository generates. Nothing is uploaded, nothing is synchronised, and a version update cannot change your routing.

Start with dry run: it decides everything and enforces nothing, and the popup shows what it would have done — with a reason for every decision, including the ones where it did nothing.

Open source, MIT: https://github.com/sapn95/container-commander
评分 0(1 位用户)
登录以评价此扩展
目前尚无评分

已保存星级评分

5
0
4
0
3
0
2
0
1
0
尚无评价
权限与数据

必要权限:

  • 读取和修改书签

可选权限:

  • 访问您在所有网站的数据

收集的数据:

  • 开发者称此扩展无需收集数据。
详细了解
更多信息
附加组件链接
  • 主页
  • 用户支持网站
  • 复制附加组件 ID
版本
0.4.0
大小
49.75 KB
上次更新
1 天前 (2026年8月20日)
相关分类
  • 隐私和安全
  • 标签页
许可证
MIT 许可证
版本历史
  • 查看所有版本
添加到收藏集
举报此附加组件
转至 Mozilla 主页

附加组件

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

下载

  • Download Firefox
  • Windows
  • macOS
  • iOS
  • Android
  • Linux
  • All

最新版本

  • Nightly
  • Beta

商用版 Firefox

  • Enterprise

社区

  • Connect
  • Contribute
  • Developer

关注

  • Instagram
  • YouTube
  • TikTok
  • Bluesky
  • Podcast
  • 隐私
  • Cookie
  • 法律

本站内容以知识共享署名-相同方式共享 v3.0 或任何更新版本授权(除非另有注明)。Android 系 Google LLC 的商标。