Posted By

browncardigan on 02/08/10


Tagged

iphone


Versions (?)

Who likes this?

3 people have marked this snippet as a favorite

umang_nine
chrisaiv
steviraab


iPhone Detection (Javascript)


 / Published in: JavaScript
 

  1. if(navigator.userAgent.match(/iPhone/i)){
  2. // iPhone redirect?
  3. }

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: parkarlsson on January 4, 2012

For iPhone/iPad and iPod detection in javascript, try this snippet: http://snipplr.com/view/55226/detecting-ipadiphoneipod-with-javascript/

You need to login to post a comment.