1function roadcss(){ 2 var tag=document.createElement('link'); 3 var Swidth = screen.width; 4 var Sheight = screen.height; 5 var ua =navigator.userAgent; 6 7 tag.setAttribute("tyle","text/css"); 8 tag.setAttribute("rel","stylesheet"); 9 10 if(ua.indexOf('iPhone') > -1 || ua.indexOf('iPad') > -1 || ua.indexOf('iPod') > -1){ 11 if(Swidth <= 768){ 12 tag.setAttribute("href","../../../ext/sp.css"); 13 }else{ 14 tag.setAttribute("href","../../../ext/www.css"); 15 } 16 17 }else if(ua.indexOf('Android') > -1){ 18 if(Swidth <= 768){ 19 tag.setAttribute("href","../../../ext/sp.css"); 20 }else{ 21 tag.setAttribute("href","../../../ext/www.css"); 22 } 23 24 }else{ 25 tag.setAttribute("href","../../../ext/www.css"); 26 } 27 document.getElementsByTagName('head')[0].appendChild(tag); 28}
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.