1 var isMobile = { 2 Android: function() { 3 return navigator.userAgent.match(/Android/i); 4 }, 5 BlackBerry: function() { 6 return navigator.userAgent.match(/BlackBerry/i); 7 }, 8 iOS: function() { 9 return navigator.userAgent.match(/iPhone|iPad|iPod/i); 10 }, 11 Opera: function() { 12 return navigator.userAgent.match(/Opera Mini/i); 13 }, 14 Windows: function() { 15 return navigator.userAgent.match(/IEMobile/i); 16 }, 17 any: function() { 18 return (isMobile.Android() || isMobile.BlackBerry() || isMobile.iOS() || isMobile.Opera() || isMobile.Windows()); 19 } 20 };
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.