Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

Learn More

Always open in container deeper than the domain

  • 1 个回答
  • 0 人有此问题
  • 18 次查看
  • 最后回复者为 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.

所有回复 (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.