iPhone/iPod JavaScript Redirect

JavaScript redirect For iPhones/iPods Specifically

<script language="javascript">
    if ((navigator.userAgent.match(/iPhone/i)) || (navigator.userAgent.match(/iPod/i)))
    {
        location.replace("http://url-to-send-them/iphone.html");
    }
</script>
VN:F [1.9.17_1161]
Rating: 0.0/10 (0 votes cast)
Share
You can leave a response, or trackback from your own site.

3 Responses to “iPhone/iPod JavaScript Redirect”

  1. iPhone says:

    Does it work on jailbreaked phones? Thanks!

  2. AfterDarkMike says:

    Shouldn’t make any difference.

  3. Pretty great post. I simply stumbled upon your weblog and wanted to say that I have really loved browsing your blog posts. In any case I’ll be subscribing for your feed and I hope you write once more very soon!

Leave a Reply

Comments links could be nofollow free.

Twitter Delicious Facebook Digg Stumbleupon Favorites More