Skip to content

Change Default Browser #166

Answered by ttscoff
hansteg asked this question in Q&A
Nov 12, 2021 · 4 comments · 2 replies
Discussion options

You must be logged in to vote

I did a little looking into this. The way to do it nicely is to use LSSetDefaultHandlerForURLScheme, but since Yosemite, doing that for the http protocol triggers a confirmation dialog, which defeats the purpose of automating it. It's a security feature, and bypassing it would get a little dirtier than I like to with Bunch. I'm going to say that the url prefixes will cover most needs in this area, and would recommend an app like Choosy or Browser Fairy for opening different websites with different browsers based on predefined rules.

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by ttscoff
Comment options

You must be logged in to vote
2 replies
@karkraeg
Comment options

@karkraeg
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants