How can I open certain links in Google Chrome, which is not my default browser? [duplicate]

Solution 1:

I don't have or use the app but I believe Choosy can do this for you. You configure it to be your default browser, and via rules you set within Choosy determine which actual browser it then hands the URL off to.

Solution 2:

You have several options:

Set Chrome as your default browser - If you have no trouble in using Chrome, then you can set it as your default browser.

To do this:

Click on the Apple menu and select System Preferences.

Choose the General tab.

Just over halfway down, there's a menu next to “Default web browser.” Click on it and choose the browser you want to set as the default.

Copy and paste the link - Though highly manual, you can copy and paste links into Chrome if you don't have a lot of them.

Use a third-party software - There are some third-party software that could offer this. As mentioned in @Craig Stodolenak' answer it looks like Choosy could do this. I am not affiliated with the software.

I understand what you are trying to do but there's only one setting for a default browser in OS X in System Preferences > General > Default web browser

(Source)

I asked a question about this on Stack Overflow here:

Here is an alternative solution, tested under macOS High Sierra 10.13.6 and it worked:

  • Automator > New > Service
    • With settings: Service receives selected text in Calendar
  • Add a Run Shell Script action, with settings:
    • Shell: /bin/bash
    • Pass input: as arguments
    • Replace the default code with: open "$1" -a "Google Chrome"
  • Save it as: Open URL in Google Chrome

Then in Calendar, right click on the URL and select Open URL in Google Chrome from the Services context menu.

It's not a single click scenario, but gets the job done.