Web Hosting Support Center
HostUtopia Canada with Vancouver & Montreal Data Centers  divider  Follow Share HostUtopia Web Hosting  divider  ORDER  divider  REGISTER  divider LOGIN  divider

iPhone Browser Redirect Script

Posted: Monday, April 9th, 2012 at 4:43 pm

The best iPhone Browser Redirect JavScript we’ve seen.

After evaluating several different ways to do this I found this iPhone browser redirect script to be the simplest one out there. Simply past this into the page header and edit the url for your iPhone enabled page:

<script language=javascript>
<!–
if ((navigator.userAgent.match(/iPhone/i)) || (navigator.userAgent.match(/iPod/i))) {
   location.replace(“http://hostutopia.com/mobi/”);
}
–>
</script>

iPhone Browser Redirect

 
Credit Cards Accepted: PayPal, Visa, Mastercard, American Express, Discover
Order Web HostingFacebookTwitterLinkedInRSS