Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

how to detect device javascirpt

if( /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) ) {
 // some code..
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #detect #device #javascirpt
ADD COMMENT
Topic
Name
6+3 =