I'm a web developer and I want to use Brave as my browser for the normal stuff, and Firefox Developer for Web Development.

Currently Brave is my default, but when I do npm run serve or whatever my web dev sites open in it too, whereas I'd like those to open in Firefox Developer.

The difference is basically that webdev sites are always pointing toward localhost, so is it possible to get localhost to open in one browser and everything else in another? (MacBook Pro, Mojave)

  • What’s in your “run serve” script that’s causing the browser to open? I use safari for browsing and chrome for dev. I created a bash alias to open chrome so I could do $ chrome localhost:3000. alias chrome=‘open -a “Google Chrome”’
    – JBallin
    Oct 13, 2018 at 23:44
  • @JBallin Yeah I thought about that but I work across multiple projects and I'm not always in control of how they were setup, so I was hoping I could set a blanket rule for the OS. Thankfully Choosy does the trick.
    – Mark
    Oct 14, 2018 at 15:50

1 Answer 1


There are a few apps that I think might be able to accomplish this.

The first that I would recommend is Choosy ($10, trial available). That's the one that I use. I recommend it first because you can download it and try it before you pay for it.

There's also Browser Fairy which is $5, but it's in the Mac App Store, and there's no trial version available. I own it also, and I think it's good, but I have had Choosy for ages and it continues to work for me, so I've stuck with it.

I would recommend checking out Choosy, and see if it does what you want. You can easily set a default browser and then set exceptions for specific sites, building criteria similar to how you would make a Smart Mailbox in Mail.app.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .