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 @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.