How To Open URLs In Google Chrome For iOS Instead Of Mobile Safari Using This Bookmark

We have been heard and seen what Google announced with surprises by introducing the Jelly Bean 4.1 and released Google Chrome for the iPhone, iPad and iPod touches during the second day of proceedings at the annual Google I/O keynote. The search giant might though to bring the best competitor for Apple’s mobile operating system and pushed the Chrome browser for iOS, shared by users as it quickly shot to the top of the download charts on release day.

However, Chrome is one of the most popular and advanced web browsers available for desktop computers, now lands on iOS iTunes Store. The operating system on the iPhone, iPod touch and iPad offers no official way of changing the default browser, meaning that any link which automatically invokes the browser will open up Mobile Safari no matter what happens. A jailbroken user has found that they can make Chrome as default on their iOS devices. Details after this jump!

By using Ryan Petrich’s Browser Chooser tweak you can set Chrome as the default browsing app, where the stock users will miss this opportunity.

Here’s the actual trick pushed and published by a developer named Jon Abrams of a little bit of JavaScript goodness which, when saved as a Safari bookmark, will allow any webpage in Mobile Safari to be passed directly on to Google Chrome. Now follow the step-by-step guide given below on your iOS device to get it running.

Step 1: Make sure the JavaScript code string at the end of this step is copied to the device’s clipboard: javascript:location.href=”googlechrome”+location.href.substring(4);

Step 2: Open the Mobile Safari on your iOS device and navigate to any webpage. Click the action button located in the middle of the toolbar in Safari and save the current page (bookmark it), and give it the name “Open Chrome”.

Step 3: Select the bookmarks page in Mobile Safari and tap the ‘Edit‘ option. Edit the saved bookmark by deleting the URL string from within it and paste in the copied JavaScript code string from step 1.

Step 4: Save the bookmark. Whenever you find yourself opening a link that invokes Safari, tap the ‘Bookmark‘ button and then select the ‘Open Chrome‘ bookmark.  Now the current page opens in the Chrome browser in iOS, thanks to the JavaScript wizardry we just wen though it.

We aren’t sure about Apple will implement the options to change the default browser on a device in the future, it’s confirmed that the friuite company never integrate such things on its own. Where this solution brings a quicker than copying and pasting webpages (URLs) across browsers, especially who are sporting a non-jailbroken iOS device.

The above steps were from the Redmondpie and the picture as well followed via Lifehacker as the source.