News for hackers. Stuff that matters.
Re:Using extra Firefox profiles to make my life better by lucideer on Friday October 20, 2023 @07:33AM (#37954787)
This is a really cool trick, but the nice thing about containers is that you can do this based on where the link is going rather than where the link is coming from.
Re:Using extra Firefox profiles to make my life better by smaudet on Friday October 20, 2023 @07:44AM (#37954861)
As I don't use them, I wonder if you can combine the two? So that every source is contained and each destination is contained as well. Might get a bit annoying with somethings, but.
Re:Using extra Firefox profiles to make my life better by SAI_Peregrinus on Friday October 20, 2023 @11:26AM (#37957447)
Yes, you can. I use both. My personal profile & work profile are different, and have different container settings.
Re:Using extra Firefox profiles to make my life better by saltcured on Friday October 20, 2023 @11:28AM (#37957476)
I use profiles because I want state isolated for my purpose, not per web origin. So for example, I may need to visit google sites related to my employer's Gsuite, or my personal account used with GMail and phone, or as an anonymous user.

This also means that I have become somewhat resistant to scripted UI integrations. I don't really want my apps or sites calling willy-nilly into each other. I want _links_ which I can deliberately copy/paste into different profiles depending on my goals. E.g. do I want to visit someone's Google drive shared link as my personal account, work account, or anonymously so it doesn't pollute either of my drive UIs?

Re:Using extra Firefox profiles to make my life better by twic on Friday October 20, 2023 @02:06PM (#37959477)
You could set BROWSER to a script which takes a URL on its command line, uses zenity to pop up a dialogue box showing it to you, with a button for each browser profile, then opens it in the selected one. With buttons for "Do not open", "Copy to clipboard", etc.
Re:Using extra Firefox profiles to make my life better by numpad0 on Friday October 20, 2023 @03:45PM (#37960635)
Just the dialog box with $1 should suffice. I do this on Windows. I can copy it to whichever appropriate browser, or simply dismiss it. I have my terrible source code somewhere on the Internet, but it should take less than couple femtoseconds for any HN readers to write their own, I suppose. I recommend everyone do this.
Re:Using extra Firefox profiles to make my life better by lucideer on Saturday October 21, 2023 @05:31AM (#37965342)
I have considered doing exactly this on many occasions but have never gotten around to putting it together - though I hadn't considered using Zenity.

I think a polished packaged cross platform app that does this would have some audience -akin to the intent dialogues on android & ios.

Re:Using extra Firefox profiles to make my life better by twic on Friday October 20, 2023 @02:03PM (#37959437)
You could set BROWSER to a script which inspects the URL and dispatches to the right profile. This would be mildly awful but extremely unixy.