1function isMobile() { 2 3 if(navigator.userAgent.match("iPhone|iPad|iPod|Android|BlackBerry|Opera Mini|IEMobile|PlayBook|BB10")) { 4 5 return true; 6 } 7 else 8 return false; 9} 10 11function isTablet() { 12 13 if(navigator.userAgent.match("iPad")) { 14 15 return true; 16 } 17 else 18 return false; 19}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.