mozilla / multi-account-containers

Firefox Multi-Account Containers lets you keep parts of your online life separated into color-coded tabs that preserve your privacy. Cookies are separated by container, allowing you to use the web with multiple identities or accounts simultaneously.
https://addons.mozilla.org/firefox/addon/multi-account-containers/
Mozilla Public License 2.0
2.68k stars 331 forks source link

Facebook container goes into infinite loop when "Limit to designated sites" is checked on #2195

Open mduchev opened 2 years ago

mduchev commented 2 years ago

When we have "Multi-Account Containers" extension installed, we have the option for each container to "Limit to designated sites". However, if we set this checkbox to true on the Facebook container, we won't be able to open any of the sites that are in this container. Whenever we try to open any of the sites (e.g., facebook.com), the browser goes into infinite loop of opening and closing a new tab.

Actual behavior

The browser goes into constant loop of creating and removing new tabs and the actual site never opens

Expected behavior

The browser to open one instance of the selected site

Steps to reproduce

  1. Install Multi-Account Containers extension and have Facebook containers enabled
  2. Click on the "Multi-Account Containers" extension from the toolbar
  3. Click on "Manage containers"
  4. Click on "Facebook" container
  5. Enable the checkbox "Limit to designated sites"
  6. Try to open facebook.com or any of the other sites that are in this container

Notes

If we disable the checkbox, then everything opens as expected. In the demo gif below, you can see the infinite loop. At the end of the gif facebook.com opens successfully, because I've disabled the checkox runtime.

Config & demo

3nyhm5ow1ux71

image

creative-resort commented 1 year ago

Tip: use the dedicated Facebook Container add-on. https://addons.mozilla.org/de/firefox/addon/facebook-container/

Facebook needs to access other domains, too — but you are disallowing that by applying this restriction.