Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

get user agent in js

if (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i))
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #user #agent #js
ADD COMMENT
Topic
Name
3+3 =