Use This Bookmark To Open Any Webpage In Chrome For iOS Instead Of Mobile Safari

Use This Bookmark To Open Any Webpage In Chrome For iOS Instead Of Mobile Safari

Here at Cult of Mac, we love Google’s new Chrome browser for iPhone and iPad… love it so much, in fact, that for many of us, we’re now using it as our default browser on our jailbroken devices using a Cydia tweak.

That’s all well and good if you’ve got a jailbroken iPhone or iPad, but what if you’re living on the straight and narrow? How can you make using Chrome as your default browser an easy experience when iOS wants to open every link in Safari instead?

It’s easy, with this Mobile Safari bookmarklet.

As we discussed earlier today, if you have a jailbroken device, you can use Browser Chooser to tell iOS to automatically open all links in Chrome instead of Mobile Safari. Unfortunately, there’s no way to do this if your device isn’t jailbroken, but what you can do is easily tell Safari to send pages onwards to Chrome.

Here’s what you do. Just create a new bookmark on your iPhone or iPad for any site. Name it something like “Open in Chrome”, then once the bookmark has been saved, edit it so that you can replace the URL with this bit of Javascript:

javascript:location.href=”googlechrome”+location.href.substring(4);

Once you’ve done that, anytime you tap that “Open in Chrome” bookmark, Safari will take the webpage you are currently reading and load it up in a new tab in Chrome instead.

It’s not ideal, but if you find that Mobile Safari keeps on stealing pages you’d like to read in Chrome, this bookmarklet is a time saver. Let’s just hope this is a stop gap solution until Apple eventually allows third-party browsers to be set as default iOS browser instead of Mobile Safari.

  • seanmccord

    I have tried this, but after I finish editing the bookmark, the quote marks get replaced with %22 and then it does not work.

  • Rychdom

    I made this yesterday. I takes into account that some sites use the https protocol.
    http://pastebin.com/fz0XXt2q

  • BarberRussell1

    just as Timothy said I’m taken by surprise that a mom can profit $8164 in one month on the internet. have you read this webpage(Click on menu Home more information) http://goo.gl/2rDko

  • markbyrn

    It doesn’t work but the comment by Rychdom has the correct code and it works.

  • Dave Healey

    Chrome is slow, so many fall into the trap of thinking a new browser is great just because it’s new, good grief!

  • Matt O

    The article’s script didn’t work but Rychdom’s did flawlessly. Thanks Rychdom!

  • LASHONDAOLEN

    The article’s script didn’t work but Rychdom’s did flawlessly. Thanks Rychdom! http://FoxGetPositionWork.blogspot.com

  • garlandsmith

    I don’t quite get it, what’s the point of a Chrome (or other) browser? Safari is perfect! I’ve never had any problems with it (or heard anyone complaining about its performance anyway) and having played around with Chrome for a bit there’s tons of features missing!
    oh! and it has that ugly “Windows” look to it just like their main full browser!

  • garlandsmith

    ..

  • TehHuff_iOS

    it’s supposed to be a single quote, not double quote.

About the author

John BrownleeJohn Brownlee is a Contributing Editor. He has also written for Wired, Playboy, Boing Boing, Popular Mechanics, VentureBeat, and Gizmodo. He lives in Boston with his wife and two parakeets. You can follow him here on Twitter.

(sorry, you need Javascript to see this e-mail address)| Read more posts by .

Posted in News, Top stories | Tagged: , , , , |