Jump to content

Automatic Default Browser Switcher?

Recommended Posts

So this may be a stretch.

But is there an app/code (or Alfred workflow) that would automatically change my Mac's default browser?

I ask because I use Edge for work 🤨 and Firefox for home and I'd like something to preferably change my system's default browser to Edge in the morning and then back to Firefox after I'm done with work stuff.

Maybe a program that switches based on time of day?

I know, i know 'just switch it in each browser's preferences' but something going behind the scenes would make my workday a little easier.

Share this post

Link to post

You can use duti to change the default handler for http/https. It's available via Homebrew. Should be very simple to build a workflow based on that.

Share this post

Link to post

You should definitely not try to install it yourself. duti has been abandoned several macOS releases ago, and Homebrew patches the included version to work on newer versions.

Share this post

Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...