/ Published in: JavaScript
Expand |
Embed | Plain Text
if(navigator.userAgent.match(/iPhone/i)){ // iPhone redirect? }
Comments
Subscribe to comments
You need to login to post a comment.
browncardigan on 02/08/10
3 people have marked this snippet as a favorite
if(navigator.userAgent.match(/iPhone/i)){ // iPhone redirect? }
Subscribe to comments
You need to login to post a comment.
For iPhone/iPad and iPod detection in javascript, try this snippet: http://snipplr.com/view/55226/detecting-ipadiphoneipod-with-javascript/