Firefox Browser Add-ons
  • Extensions
  • Themes
    • for Firefox
    • Dictionaries & Language Packs
    • Other Browser Sites
    • Add-ons for Android
Log in
Preview of container commander

container commander by 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.

Available on Firefox for Android™Available on Firefox for Android™
0 (0 reviews)0 (0 reviews)
Download Firefox and get the extension
Download file
Scan the QR code to open this extension in Firefox for Android

Extension Metadata

Screenshots
About this extension
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
Rated 0 by 0 reviewers
Log in to rate this extension
There are no ratings yet

Star rating saved

5
0
4
0
3
0
2
0
1
0
No reviews yet
Permissions and data

Required permissions:

  • Read and modify bookmarks

Optional permissions:

  • Access your data for all websites

Data collection:

  • The developer says this extension doesn't require data collection.
Learn more
More information
Add-on Links
  • Homepage
  • Support site
  • Copy add-on ID
Version
0.4.0
Size
49.75 KB
Last updated
2 days ago (Aug 20, 2026)
Related Categories
  • Privacy & Security
  • Tabs
License
MIT License
Version History
  • See all versions
Add to collection
Report this add-on
Go to Mozilla's homepage

Add-ons

  • About
  • Firefox Add-ons Blog
  • Extension Workshop
  • Developer Hub
  • Developer Policies
  • Community Blog
  • Forum
  • Report a bug
  • Review Guide

Download

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

Latest Builds

  • Nightly
  • Beta

Firefox for Business

  • Enterprise

Community

  • Connect
  • Contribute
  • Developer

Follow

  • Instagram
  • YouTube
  • TikTok
  • Bluesky
  • Podcast
  • Privacy
  • Cookies
  • Legal

Except where otherwise noted, content on this site is licensed under the Creative Commons Attribution Share-Alike License v3.0 or any later version. Android is a trademark of Google LLC.