1(function(){ 2 3 var ua = navigator.userAgent.toUpperCase(); 4 var url = document.location.pathname; 5 var spDir = 'sp/'; 6 7 (ua.indexOf('IPHONE') != -1 || (ua.indexOf('ANDROID') != -1 && ua.indexOf('MOBILE') != -1))? 8 isSP() : 9 isPC(); 10 11 function isSP(){ 12 if(url.match(spDir)){ 13 return false; 14 }else{ 15 location.href = spDir; 16 } 17 } 18 19 function isPC(){ 20 if(!url.match(spDir)){ 21 return false; 22 }else{ 23 location.href = '/'; 24 } 25 } 26 27}());
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.