ProTip: Open Links in a New Chrome Window on macOS

Eugen Kiss
Oct 25, 2018 · 1 min read

Don’t you hate it when you click on a link in an app and macOS switches to the space with the last used Google Chrome window? Worse, the link is opened as a new tab in that Chrome window. Fortunately, there’s a solution to open links in a new Chrome window in the current space:

  • Create an Apple Script OpenURLInNewChromeWindow.app with the following content:
on open location theURL
do shell script "/usr/bin/open '/Applications/Google Chrome.app' --new --args --new-window \"" & theURL & "\""
end open location
  • Install SwiftDefaultApps and set OpenURLInNewChromeWindow.app as the default web browser.

Voila!

Since I had to set this up on my work machine recently I thought it’s good to share this ProTip! I’d love to give credit to the original source but I couldn’t find it anymore.

Written by

eugenkiss.com

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade