/ Published in: JavaScript
                    
                                        
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
if(window.navigator.userAgent.match(/(CPU iPhone OS)/))
document.write('This is a iPhone or iPod Touch!');
else
document.write('This is NOT a iPhone or iPod Touch!');
Comments
 Subscribe to comments
                    Subscribe to comments
                
                