johnste / finicky

A macOS app for customizing which browser to start
MIT License
3.67k stars 136 forks source link

Opening different browsers for different Google Accounts #302

Open bexelbie opened 1 year ago

bexelbie commented 1 year ago

Is your feature request related to a problem? Please describe.

I use Google Apps for work and have some Google usage personally. I need to be able to save Gmail urls to my To Do list and have them open in either Google Chrome for work or Safari for personal.

This also applies to the remainder of the Google Suite (docs, drive, etc.)

Describe the solution you'd like

I'd like to be able to cause the browser to be set based on a rewrite rule (see below). I am open to other ideas.

Describe alternatives you've considered

Today I manually 'malform' the saved urls to be 'ghttps' instead of 'https'. I have a rewrite rule in Finicky that rewrites ghttps to https and the default browser is set to Google Chrome. I keep my system settings default browser set to Safari and I have a url rule (somewhere in the system settings I can't remember where) that says open Finicky for ghttps urls. When I click one I have to remember to always say, "keep safari as my default browser."

I have implemented this and it works, but is now breaking as I have some urls that my To Do list app won't let me rewrite to be 'malformed'. What I would like to do is just use Finicky as my default browser and have the ghttps protocol indicate that this one is Chrome not Safari.

Additional context

There is no way, that I can find, to determine what account a given Google URL is associated with.

rcarricato commented 7 months ago

Adding to this....my use case is opening different browsers for different google accounts from within the MacOS "Mail" app, (i.e. Chrome for work, Safari for personal).