Return to Snippet

Revision: 14324
at May 29, 2009 15:58 by Nanobyte


Initial Code
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!');

Initial URL

                                

Initial Description

                                

Initial Title
iPhone/iPod Touch detection

Initial Tags
javascript, iphone

Initial Language
JavaScript