News for hackers. Stuff that matters.
Re:Facebook Container Extension by Mozilla Firefox by cypherpunks01 on Wednesday January 18, 2023 @09:59PM (#34436216)
These extensions are killer, and are the primary reason I use Firefox. No other browsers have similar functionality at all that I've found.

For me, it's the best setup I've found in terms of cookie/session management. By default, I do want every new tab I open to come with a clean slate of no cookies, local storage, SQLite, or whatever other storage/tracking mechanisms are invented. If I need to open up a Google service, I simply open a new tab in my Google container. Combined with a good password manager to quickly login to lower security accounts, it is a marginal increase in work managing sessions, with the benefit of not tracking all your cookies and history around everywhere you go. The features aren't perfect since it's not a workflow optimized for consumer simplicity, but it works for me.

Re:Facebook Container Extension by Mozilla Firefox by mixmastamyk on Wednesday January 18, 2023 @10:52PM (#34436505)
Yes, also you can have FF drop cookies from all sites but a few at the end of the session. I use this on my other computers and for nontechnical friends.
Re:Facebook Container Extension by Mozilla Firefox by rand0mx1 on Thursday January 19, 2023 @04:53AM (#34438509)
Re:Facebook Container Extension by Mozilla Firefox by sfmike on Thursday January 19, 2023 @12:51AM (#34437141)
does anyone know why chrome can't do containers, this is also why i use firefox
Re:Facebook Container Extension by Mozilla Firefox by black_puppydog on Thursday January 19, 2023 @01:11AM (#34437253)
It would seem its again the interest of one of the biggest contributors to the open source code base of chromium...
Re:Facebook Container Extension by Mozilla Firefox by charcircuit on Thursday January 19, 2023 @04:13AM (#34438269)
For discussion about it.

https://groups.google.com/a/chromium.org/g/chromium-dev/c/IZ...

In response to asking about supporting multiple profiles between different tabs.

>Extraordinarily difficult. I would expect person-years of effort for this, as the link between profile and window is deeply ingrained throughout the code.

Chrome doesn't support containers because it would take a big investment that no one is currently willing to make. Google doesn't want to spend millions of dollars and deprioritize more important work for a niche feature that not that many people benefit from.

Re:Facebook Container Extension by Mozilla Firefox by sirsinsalot on Thursday January 19, 2023 @05:10AM (#34438631)
I am doubtful about the person-years of effort. It's an indirection.
Re:Facebook Container Extension by Mozilla Firefox by bayindirh on Thursday January 19, 2023 @05:51AM (#34438932)
Or the code is specially laid out that way over the years to make this a person-years effort.
Re:Facebook Container Extension by Mozilla Firefox by sirsinsalot on Thursday January 19, 2023 @06:03AM (#34439013)
Come on, no software project is ran with that level or "what if" foresight.

I'll go with incompetence over conspiracy.

Re:Facebook Container Extension by Mozilla Firefox by bayindirh on Thursday January 19, 2023 @06:30AM (#34439197)
No "what-if" is needed to pull of that kind of thing. As an advertisement company, just never prioritize this separation, and do not discourage this "integration" in PRs.

You're done. Build while fresh.

P.S.: Microsoft is actively rigging its software, lastly VS-Code just for these things, but it's another can of worms I have no desire to open again.

Re:Facebook Container Extension by Mozilla Firefox by stuaxo on Thursday January 19, 2023 @06:43AM (#34439284)
In this writeup [1] about adding Rust to Chromium there is a note on the architecture shared state in the architure which may explain the difficulty

"... Chrome is built on foundational but really wide C++ APIs, such as the //content/public layer. We examined what it would mean for us to build Rust components against these types of APIs. At a high level what we found was that because C++ and Rust play by different rules, things can go sideways very easily.

For example, Rust guarantees temporal memory safety with static analysis that relies on two inputs: lifetimes (inferred or explicitly written) and exclusive mutability. The latter is incompatible with how the majority of Chromium’s C++ is written. We hold redundant mutable pointers throughout the system, and pointers that provide multiple paths to reach mutable pointers. ..."

[1] https://security.googleblog.com/2023/01/supporting-use-of-ru...

Re:Facebook Container Extension by Mozilla Firefox by buran77 on Thursday January 19, 2023 @07:10AM (#34439474)
An expert in a field should be able to estimate with reasonable accuracy what kind of effort a certain activity requires. And to be honest "person-years" doesn't look that much at all for a feature that's so useful (but only to the user). 10 people working for a couple of months full time already qualifies.
Re:Facebook Container Extension by Mozilla Firefox by cute_boi on Thursday January 19, 2023 @11:12AM (#34441891)
It is a lie when we know ghost browsers essentially do the same. I think it is just not in the best interest of Google because it might hurt their bottom line i.e. ads.
Re:Facebook Container Extension by Mozilla Firefox by hgsgm on Thursday January 19, 2023 @01:36PM (#34443804)
You can open a new window for a separate session, just not a new tab.
Re:Facebook Container Extension by Mozilla Firefox by ajb on Thursday January 19, 2023 @04:06AM (#34438225)
It does have profiles, which can be used in the same way. Haven't used it in a while, I think the limitation is that you can't use a different profile per tab; you need a whole new window
Re:Facebook Container Extension by Mozilla Firefox by chupasaurus on Thursday January 19, 2023 @04:56AM (#34438525)
FF has that profile system too.
Re:Facebook Container Extension by Mozilla Firefox by aendruk on Thursday January 19, 2023 @02:03AM (#34437508)
The key insight for me was that persistence should be opt-in—when I want a website to remember me, I take action to express that—the opposite of the current norm.

I sometimes wonder whether Google was strategically preempting this paradigm when they mainstreamed ephemeral sessions under the framing of sneaky mode.

Re:Facebook Container Extension by Mozilla Firefox by hgsgm on Thursday January 19, 2023 @01:33PM (#34443756)
The vast majority of people find persistent sessions convenient.

If you don't want cookies, you can turn them off for all sites (with exceptions) or for some sites.

Re:Facebook Container Extension by Mozilla Firefox by aendruk on Thursday January 19, 2023 @02:10PM (#34444279)
rejecting cookies ≠ giving them a short lifetime

Cookies aren’t inherently bad. If a second party asks me to hold on to something while I’m actively engaged with it, that’s typically fine. At the end of the day, though, I’m deciding what to take home.

Re:Facebook Container Extension by Mozilla Firefox by ranting-moth on Thursday January 19, 2023 @04:55AM (#34438523)
> I do want every new tab I open to come with a clean slate

I'd like that too, how can you do that?

I've been using Firefox containers for a while. When I open a new tab it opens in the default non-container which carries it's own storage cesspit.

Re:Facebook Container Extension by Mozilla Firefox by _flux on Thursday January 19, 2023 @05:35AM (#34438825)
You need to use Temporary Container's shortcut to open the tab, I think extensions cannot override builtin ones.. (And you need Temporary Containers in the first place: that's the bit that creates fresh new containers.)

For me the shortcut is alt C.

Re:Facebook Container Extension by Mozilla Firefox by cypherpunks01 on Thursday January 19, 2023 @07:52AM (#34439755)
The answer is using Temporary Contains with "Automatic Mode" enabled in the preferences.

I just opened a new tab normally, with no shortcut, and it automatically created a fresh temp container "tmp2". I logged into HN and replied to this comment. I will close the tab now, and in 5 minutes, due to another Temp Containers setting, everything in the temp container will be wiped.

The whole silly "No Container" business goes away entirely.

See https://github.com/stoically/temporary-containers/wiki/Autom...

Re:Facebook Container Extension by Mozilla Firefox by blakeli12 on Friday January 20, 2023 @08:17PM (#34462684)
I agree. Google and Firefox have a high number and quality of plugins, but Google Chrome has a larger market for plugins and it is easier to find plugins for specific features. However, Firefox supports plugins in the WebExtensions format, which is compatible with Google Chrome, but also supports other formats such as XUL and XPCOM that give developers more control