News for hackers. Stuff that matters.
Re:Tell HN: Firefox Is an awesome browser right now by alexelcu on Friday February 03, 2023 @08:48AM (#34640989)
You're right, but for a counter-point versus Chromium, multi-account containers are worse for security compared with profiles…

This matters when you can't 100% trust your browser session, or the installed extensions. Did you ever load https://my.1password.com in your browser? How do you feel about it? Do you trust your installed extensions to not take a peak? I don't.

Chrome solves this elegantly via profiles. Even more, you can install websites as “apps”, with a shortcut that gets indexed by the OS, and Chrome remembers the profile. I simply type “1Password Online” or “Banking” and my Chromium opens a new window in my “Private” profile that has no extensions installed. Firefox dropped the ball on both PWA shortcuts, and on profiles.

Even for using multiple accounts, I feel like Chromium profiles are a better solution.

For example, my workplace has very strict security requirements, and when looking at company documents it's not cool to provide access to extensions like LanguageTool or Grammarly. I'd be in trouble. And Chromium always had finer grained permissions for extensions, like activating or deactivating them per website.

Re:Tell HN: Firefox Is an awesome browser right now by II2II on Friday February 03, 2023 @09:05AM (#34641169)
Wouldn't Firefox's profiles accomplish the same thing? (Yes, I understand they are difficult to access but they are still there.)

That said, containers are a handy tool for people who want to access multiple accounts without the trouble of setting up individual profiles. Keep in mind, if you're only trying to access a personal and work Google account you probably don't want to spend time setting up a separate profile for each then keeping the settings synchronized.

Re:Tell HN: Firefox Is an awesome browser right now by alexelcu on Friday February 03, 2023 @09:15AM (#34641266)
Yes, but Firefox's profiles are very hard to use (apart from keeping multiple Firefox channels installed, e.g., stable, beta), I tried, and I couldn't.

Starting a profile is difficult, and also switching between windows, since the OS sees profiles as different apps. It's probably not hard to fix, but Mozilla has had other priorities.

Re:Tell HN: Firefox Is an awesome browser right now by godshatter on Friday February 03, 2023 @10:51AM (#34642695)
Just open about:profiles. You can create new ones, remove old ones, set which one is the default and can open them in a new browser. I use this all the time to open a browser as a new SSO functional user without having to log out.

I don't know why they don't add this somewhere in the menus and I don't know why you can't bookmark about:profiles, but this works well for me as it is.

Re:Tell HN: Firefox Is an awesome browser right now by WorldMaker on Friday February 03, 2023 @06:38PM (#34649433)
The -ProfileManager command line flag opens it up as a startup window.
Re:Tell HN: Firefox Is an awesome browser right now by commoner on Friday February 03, 2023 @03:25PM (#34647224)
Try Profile Switcher for Firefox, which provides a Chrome-like interface for managing and switching between profiles in Firefox.

Add-on: https://addons.mozilla.org/en-US/firefox/addon/profile-switc...

Source: https://github.com/null-dev/firefox-profile-switcher

Re:Tell HN: Firefox Is an awesome browser right now by r1cka on Friday February 03, 2023 @05:38PM (#34648798)
My problem is opening links from apps. Sometimes I want a link in Slack (or other desktop apps) to open in my personal profile and sometimes I want it to use my work profile. With Brave/Chrome, the link will open in whatever profile window is active. I can't find a way to make this work with Firefox.
Re:Tell HN: Firefox Is an awesome browser right now by commoner on Saturday February 04, 2023 @10:08PM (#34661366)
Have you tried making a different desktop entry/shortcut for each Firefox profile and then setting a browser picker as your default browser?

- Junction (Linux browser picker): https://github.com/sonnyp/Junction

- Finicky (macOS browser rule setter): https://github.com/johnste/finicky and Browserosaurus (macOS browser picker): https://github.com/will-stone/browserosaurus

- Hurl (Windows browser picker): https://github.com/U-C-S/Hurl

Re:Tell HN: Firefox Is an awesome browser right now by WorldMaker on Friday February 03, 2023 @06:37PM (#34649422)
The -ProfileManager flag to Firefox gives a startup window to manage, create, and select profiles (and has existed forever).

You can create shortcuts (or shell scripts) by hand with --no-remote -p ProfileName to auto-open specific sites in specific profiles. It's certainly less convenient than PWA installs, but is an old tool with all sorts of old ways to automate it.

Multi-account Container is far easier than all that though and does reduce the number of windows to manage in your OS taskbars. Obviously you need to be careful with which extensions you install that they are safe for every container you want to use, but that's a given and a good idea in general no matter how many profiles you use: keep extensions to the bare minimum you are comfortable with. Vet their permissions manifests and keep additional permissions you grant them to a minimum.