cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Firefox Multi-Account Containers - How can I edit the list of assigned websites?

blueice_haller
Making moves

Hi,

until today I used containers (out of the box without the extension) about:preferences#containers .

I configured two environments: Work and Private.

Today I read the Blog entry from 2017: An Update on Firefox Containers | Tanvi Vyas
and then I installed the Firefox Multi-Account Containers .

I tested the assignment feature and assigned one page to Private.

Then I had a look on the settings ( about:addons → Firefox Multi-Account Containers )
but I'm not able to find the list of either websites, domains or wildcards.

Then I opened about:config and searched for the domain of the website I assigned to the container Private
but unfortunately without results.

Thank you in advance.

3 REPLIES 3

jscher2000
Leader

The data on which site is assigned to which container is stored in the extension storage for the Multi-Account Containers add-on. You can extract that in bulk using the add-on debugging console, but I don't think it's (safely) editable there. The more arduous way is to use the interface to delete a site assigned to one container, and then add it to a different one.

Bulk extract method: https://www.reddit.com/r/firefox/comments/10mi45q/how_do_i_get_the_sites_per_container_info_for/

Using the interface:

(1) Click the Multi-Account Containers toolbar button (not the one in the address bar, you may need to use the Extensions button drop-down). At the bottom of the drop-down panel, click "Manage Containers".

Firefox should bring up a panel with a list of your containers.

(2) Click a container name to view its details and then click "Manage Site List..." to view the assigned sites.

When you hover a site, a trash can will appear to remove it from the list.

0xDECAFBAD
Making moves

I've looked for the ability to do this as well. As far as I know there isn't a way to edit the list of websites, which is unfortunate. It causes issues when using websites that use SSO, and one of the redirect URLs isn't in the same container as the destination URL. I'm forced to try to hit ESC mid SSO to stop my browser on the URL that I need to add to the container.

srwsol
Making moves

There is a way to make this happen.  It's kind of convoluted but it works.   First you run "ipconfig /flushdns" from an administrator command prompt to flush the dns cache.  Then you take the URL that you need in a specific container and temporarily put that domain name in your hosts file pointing to an IP address that will bring up a webpage (the option to set the container doesn't appear unless a connection is made so you can't just point it to something like 10.0.0.1).  Also make sure that the port number is the same (i.e. missing or a value) as it will be when the domain name is pointing to the actual site when you type the URL into the browser as the port number if present is stored with the domain name in the container.   Once the site specified in the host file connects you can now set the container to whatever you want.   You then take the domain name out of the host file, run "ipconfig /flushdns" again from an administrator command prompt to clear the dns cache, and you should be good to go.

This allows you to isolate any domain name that's part of an elaborate signon or redirection process that you can't otherwise freeze in progress in order to assign it to the same container assigned to the original URL.

The real answer here is that the container extension needs to allow editing of the domain names and it needs to allow wildcards, or some other way to designate that any prefixes on a domain name need to be part of that same container without having to explicitly enumerate them all.