Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

if mobile screen in js

$.browser.device = (/android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i.test(navigator.userAgent.toLowerCase()));
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #mobile #screen #js
ADD COMMENT
Topic
Name
2+5 =