1/***************************************************************************************** 2 First Settings 3******************************************************************************************/ 4 5var UA = (function(){ 6 var ua = navigator.userAgent; 7 8 return { 9 IE6: ua.indexOf('MSIE 6') > 0, 10 IE7: ua.indexOf('MSIE 7') > 0, 11 IE8: ua.indexOf('MSIE 8') > 0, 12 ie: document.uniqueID, 13 firefox: window.globalStorage, 14 opera: window.opera, 15 webkit: !document.uniqueID && !window.opera && !window.globalStorage && window.localStorage, 16 mobile: /android|iphone|ipad|ipod/i.test(ua.toLowerCase()), 17 SP: /android|iphone|ipod/i.test(ua.toLowerCase()), 18 Android: /android/i.test(ua.toLowerCase()) 19 } 20})(); 21 22 23window.loadCSS = function(_cssObj) { 24 var UACSSPaths = []; 25 26 if(UA.SP) { 27 UACSSPaths = _cssObj.SP; 28 } else { 29 UACSSPaths = _cssObj.PC; 30 } 31 32 for(var i = 0, len = UACSSPaths.length; i < len; i++) { 33 var link = document.createElement("link"); 34 link.type = "text/css"; 35 link.rel = "stylesheet"; 36 link.href = UACSSPaths[i]; 37 document.getElementsByTagName("head")[0].appendChild(link); 38 } 39}
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.