If I want to ensure a URL, if clicked, will always open in Chrome (instead of the default browser) can I do that by modifying the header?

For example, I can get URLs that always open in Evernote, they start with evernote:///

Is this possible, for example to have something like chrome:///www.url.com

  • That part of the url is referred to as the "protocol" – Octopus Aug 22 '14 at 21:58

Google has official documentation on the Chrome iOS app’s URI scheme on its developer website.

Simply replace http with googlechrome and https with googlechromes. This means:

  • http://www.google.com/ becomes googlechrome://www.google.com/
  • https://apple.stackexchange.com/ becomes googlechromes://apple.stackexchange.com/

Previously, it supported an x-callback-url of googlechrome-x-callback://. This allowed the calling app to indicate its name and URI scheme to Chrome, which would show a back button in the address bar that closes the tab and invokes the specified URI. This feature was removed a few years ago when iOS 9 added the “Back to …” button in the status bar (but the URI scheme still works).

  • 3
    Note that this doesn't apply to Chrome for Mac. – chenware Aug 24 '17 at 21:42

On iOS:

  • 1
    That may work on iOS—I don't have Chrome on my iPhone—but it does not work for me on Mavericks. – samh Aug 22 '14 at 13:57
  • I was about to say the same. How are you proposing this should work. Firstly on Mavericks if you click a link with this protocol or go to it in a web address. The OS asks you to select an app that can open it. Even when Chrome is selected chrome will try and open the URL file:///googlechrome:///www.example.com each time – markhunte Aug 22 '14 at 14:04
  • 1
    @markhunte OP did not specify OS X or iOS, I've clarified that this is just for iOS – grg Aug 22 '14 at 14:07
  • @GeorgeGarside Cheers saved me wasting more time trying to figure it out. – markhunte Aug 22 '14 at 14:09
  • Is there a way to do it for Mac? Not working on Catalina either. – layser May 9 '20 at 15:05

You must log in to answer this question.

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