News for hackers. Stuff that matters.
Re:Guide to Firefox Containers (2018) by thrwawy283 on Monday August 30, 2021 @07:59AM (#28354757)
The real gem is this extension: Temporary Containers

https://addons.mozilla.org/en-US/firefox/addon/temporary-con...

Basically every new tab is a new temporary container. Isolation all the time, by default. It's an added exercise for the reader, but you have to go into the settings of the extension and modify some of the mouse behavior. Basically if I want a link I click to share the same container as the parent, I Ctrl + Click. Left-clicking or middle-clicking is always a new temporary container.

Containers are so much more than cookie isolation.

Re:Guide to Firefox Containers (2018) by SAI_Peregrinus on Monday August 30, 2021 @08:37AM (#28355000)
I add Containerize to that:

https://addons.mozilla.org/en-US/firefox/addon/containerise

It lets you define rules for URLs to allow any URL matching a pattern to always open in a certain container.

Re:Guide to Firefox Containers (2018) by c1yd3i on Monday August 30, 2021 @09:23AM (#28355389)
How is this different than managing the site list for a Firefox Container? Just that it's a CSV and patterns are supported?

Do you just not define anything in the Firefox Container site list, and rely on this to manage it instead?

Re:Guide to Firefox Containers (2018) by lucideer on Monday August 30, 2021 @10:18AM (#28355912)
The main Firefox Containers extension has a nicer UI but quite a lot of missing features. Mainly the ability to edit the site list directly, and the fact that the way it registers a site against a container means it can't support adding a redirect to a container, nor (related) having separate Google services in separate containers (e.g. a Youtube container and separate Gmail container).
Re:Guide to Firefox Containers (2018) by nsomaru on Monday August 30, 2021 @10:12AM (#28355836)
For me a source of some frustration is redirects and subdomains, which I need to visit manually with network switched off in order to add to the right container. This will help a lot for that issue!
Re:Guide to Firefox Containers (2018) by rraghur on Monday August 30, 2021 @10:19PM (#28363261)
I tried using this but it doesn't preserve case so the regex matches don't work..

Doesn't seem to be very active either

I eventually moved to one of the fields that fixes the issue but have to install that from xpi

Re:Guide to Firefox Containers (2018) by abryzak on Monday August 30, 2021 @04:46PM (#28360684)
I use this as well and it's quite good.

The only thing I sometimes have a problem with is when going through a payment flow using PayPal and forgetting to open the site in a persistent container. Many sites will fail to process the payment on the redirect back to the site as it ends up in another container.

I haven't looked recently, but I didn't see an option to open a site in an existing temporary container based on domain if there is one already open which I believe would solve this.

Re:Guide to Firefox Containers (2018) by KeyBoardG on Monday August 30, 2021 @09:27AM (#28355427)
Agreed, I love this. Just use a different hot-key to open a new tab that is in its own container.
Re:Guide to Firefox Containers (2018) by nickthemagicman on Monday August 30, 2021 @09:05AM (#28355231)
How is that different from anonymous browsing tabs?
Re:Guide to Firefox Containers (2018) by lucideer on Monday August 30, 2021 @10:22AM (#28355940)
Anon browsing allows max 2 separate simultaneous contexts: the anon session and your tracked session. This allows many different anon sessions. It's also a nicer more consistent integration if you already use (permanent) containers.
Re:Guide to Firefox Containers (2018) by nickthemagicman on Tuesday August 31, 2021 @03:36PM (#28372499)
That makes sense! Thanks for the info!

Will containers save your session when you close them and reopen them again later?

Re:Guide to Firefox Containers (2018) by lucideer on Tuesday August 31, 2021 @03:44PM (#28372600)
That's configurable. Sessions can be permanent, can be deleted as soon as they're closed, or a set period of time after last use.
Re:Guide to Firefox Containers (2018) by zamadatix on Monday August 30, 2021 @09:14AM (#28355317)
It's per tab not per window and they can coexist with trusted containers. It also has a non-automatic mode where you select sites that open in temporary containers instead of selecting sites that don't.
Re:Guide to Firefox Containers (2018) by nickthemagicman on Tuesday August 31, 2021 @03:36PM (#28372512)
Thank you for the info! That's really cool.

Sounds almost like you can have containers like profiles.

Where one tab is opened in a container signed in to an account and another signed into a different account.

Will containers save your session when you close them?

Re:Guide to Firefox Containers (2018) by pvitz on Monday August 30, 2021 @09:52AM (#28355650)
Apart from the features in the sibling comment, your history will be kept.
Re:Guide to Firefox Containers (2018) by kaba0 on Tuesday August 31, 2021 @12:34PM (#28370163)
As well as cookies between restarts, so eg. you don’t have to login to google inside your google container.
Re:Guide to Firefox Containers (2018) by nickthemagicman on Tuesday August 31, 2021 @03:40PM (#28372537)
If you can close containers and restart/reopen the container tab and have all of the session information still saved in that container...

That means you can almost implement google profiles with containers.

Except it's kinda per tab instead of per window.

And that's really cool.

Am I conceptualizing that right?