Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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



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


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?


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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: