/ Published in: JavaScript
                    
                                        
A tiny snippet on how to easily detect iPad/iPhone/iPod using javascript.
                
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
if (navigator.userAgent.match(/iP(ad|hone|od)/i)) {
[Here goes the magic.. ]
}
Comments
 Subscribe to comments
                    Subscribe to comments
                
                