Automation to Change Default Browsers on macOS

Is there a way to automate to change your default browser during the day. I want to sever (Ha) my browser usage between one for work and one for personal life management, entertainment, etc… but creating a hard separation in a challenge if only one is your default. Is there a way to put that feature on a schedule so say after 5 my default is firefox but during the day it’s brave?

I am going to assume Apple won’t let that happen on iOS or iPadOS

I am planning to install Velja — Sindre Sorhus possibly later tonight, after reading about all the cool things you can do, to use different browsers for different URL’s and Apps. Lots of flexibility.

But I just noticed that he has another nice utility Default Browser — Sindre Sorhus, which allows you to change default brower from your menu bar, and also from scripting tools.

Quote from that webpage:
The app comes with support for the Shortcuts app. Look up the app in the Shortcuts app to see what actions it provides.

For example, you could switch to a certain browser at a specific time of the day, or maybe when joining a specific Wi-Fi network.

Sounds like just what you are looking for.

2 Likes

Velja is a great little app.

1 Like

Velja is really nice, I switched to it when I ran into issues with Browserosaurus a while back.

You could also use a browser which makes it easy to switch profiles and use a different profile?

Zen (Firefox based) and Arc are good options.

Safari also allows a feature where you can specify which websites open in which profile.

I’m using OpenIn at the moment, you can use JavaScript to create rules / process urls.
e.g. I’ve created a script that strips awstrack /outlook safelinks from links clicked in emails before passing it to the browser.
You could probably do something with time.

I will look into that. Thanks!

Is Arc still mostly supported I heard it was getting depreciated for whatever that new thing was.

They’re updating Chromium version and that’s about it, I’ve subsequently moved to Vivaldi.

Could you post the AWS tracking code?