News for hackers. Stuff that matters.
Re:Ask HN: What browser extensions are a must-have in 2021? by Macha on Tuesday November 23, 2021 @08:39AM (#29317620)
> I type "gmail work", hit return and Firefox opens it in the correct container tab, already logged in. (Honestly, who uses bookmarks any more? They just turn into a bloated to-do list, hundreds of links you'll forget about until one day you try them and the domain no longer exists)

Do you just have a google container, or have you managed to make it so that gmail can only be opened in a "personal" and "work" context and bookmarks open it in the right tab? That's been my big frustration with using container tabs to seperate purposes/accounts like this.

Re:Ask HN: What browser extensions are a must-have in 2021? by raffraffraff on Tuesday November 23, 2021 @11:04AM (#29319396)
I have containers for personal, projects, shopping and a bunch more. Within work I have several containers (prod, test, dev) as there are different accounts for those - AWS for example
Re:Ask HN: What browser extensions are a must-have in 2021? by Macha on Tuesday November 23, 2021 @11:40AM (#29319919)
Are you manually allocating your work gmail to one container and personal gmail to another, or are you only logging into one at a time, or have you managed to automate this somehow?
Re:Ask HN: What browser extensions are a must-have in 2021? by raffraffraff on Tuesday November 23, 2021 @04:01PM (#29323484)
It's automated via the containerise addon, which can match url regexes. Google Regex, which works for a bunch of G-suite stuff (Gmail, Docs etc)

@.*\.google\.com.*username@gmail\.com.*$

A bookmark link for Gmail that works with that regex would be:

https://mail google.com/u/[email protected]

Edit: What? Of fuck off HN, how the fuck are you supposed to post unformatted text? Ok, got it. I'm not translating the horrible YouTube url though.