“Open in Chrome” Bookmarklet

BY Jason

Published 30 Jun 2012

Chrome for iPhone, iPad

If you’ve fallen in love with Chrome but can’t make it the default browser as you have not jailbroken your iPhone or iPad then check out this neat workaround by Jon Abram.

Abram has created a bookmarklet that will allow you to open the current webpage in Chrome.

Abram explains how it works:

My current workaround is this bit of javascript that will launch the current page in Chrome. Just copy and paste it into a bookmark in Safari, then if you ever find yourself in Safari, but would rather be in Chrome, tap the bookmark and voila! You’re now in Chrome but on the same page!

You can follow these instructions to add the bookmarklet:

  1. Copy the line of code below:

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

  2. Bookmark this page.
  3. Open the Safari bookmarks, click “Edit”, and edit the new bookmark.
  4. Rename it to “Open in Chrome” or something like that.
  5. Delete the URL that’s there and paste in the above code.
  6. Then tap on the Done button, followed by “Done” buttons again.
That’s it. Now when you open the URL from the Mail or Twitter app, which launches the webpage in Safari, tap on the Bookmarks button, navigate and tap on the “Open in Chrome” bookmarklet to open the webpage in Chrome.
Thanks Avinash for the tip!