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>

August 10th, 2011
AfterDarkMike
Posted in