Join the Mozilla’s Test Days event from Dec 2–8 to test the new Firefox address bar on Firefox Beta 134 and get a chance to win Mozilla swag vouchers! 🎁

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Always open in container deeper than the domain

  • 1 reply
  • 0 have this problem
  • 18 views
  • Last reply by Mich

more options

I love the containers and have been using it for a long time already, but one thing that I couldn't find a solution is to have two URL's within the same domain to "always open" in different containers.

I do have other examples, but the basic ones is github and azure devops.

I have my own place and my company one, they have the same domain but different logins (GitHub not quite, but it has a second authentication on top of it for the enterprise one), basically it happens like that:

Company: https://dev.azure.com/CompanyName Persona: https://dev.azure.com/Mine

When I set to always open in a container for each of them, both goes to the same container, which is annoying because I have a different login for each of them, for GitHub is kinda similar, I do use my personal github account for my companies one as well, but for my companies organization there is AAD integration and so I need to have it authentication with the AAD on top of my regular login, and "my companies container" is the only one already authenticated there.

I love the containers and have been using it for a long time already, but one thing that I couldn't find a solution is to have two URL's within the same domain to "always open" in different containers. I do have other examples, but the basic ones is github and azure devops. I have my own place and my company one, they have the same domain but different logins (GitHub not quite, but it has a second authentication on top of it for the enterprise one), basically it happens like that: Company: https://dev.azure.com/CompanyName Persona: https://dev.azure.com/Mine When I set to always open in a container for each of them, both goes to the same container, which is annoying because I have a different login for each of them, for GitHub is kinda similar, I do use my personal github account for my companies one as well, but for my companies organization there is AAD integration and so I need to have it authentication with the AAD on top of my regular login, and "my companies container" is the only one already authenticated there.

All Replies (1)

more options

To have two URLs within the same domain always open in different containers in Firefox, you can use the Multi-Account Containers add-on in conjunction with the Temporary Containers add-on. Here's how:

1)Install the Multi-Account Containers and Temporary Containers add-ons in Firefox, if you haven't already. 2)Open the Multi-Account Containers add-on by clicking on the icon with the container image next to the address bar. 3)Create two new containers, one for your company and one for your persona, by clicking on the "+ New Container" button and giving each container a name. 4)Open the Temporary Containers add-on by clicking on the icon with the circular arrows next to the address bar. 5)In the Temporary Containers settings, enable the option to "Automatically open new websites in a temporary container." 6)When you visit the URL for your company or persona, it will open in a temporary container. Right-click on the tab for the website and select "Always open in <container name>" to have it always open in the appropriate container. 7)Repeat step 6 for the other URL within the same domain.

By using this method, you can have two URLs within the same domain always open in different containers in Firefox. However, note that this will not work if you have already set the URLs to "always open" in a container using the Multi-Account Containers add-on, as you mentioned in your question. In that case, you may need to reset your container settings for those URLs and use the method described above.