Apple Device Detect


/ Published in: jQuery
Save to your folder(s)



Copy this code and paste it in your HTML
  1. <script type="text/javascript" charset="utf-8">
  2. if (navigator && navigator.platform && navigator.platform.match(/^(iPad|iPod|iPhone)/)) {
  3. location.replace(".html");
  4. }
  5. </script>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.