1function getCookie(c_name) { 2 var i,x,y,ARRcookies=document.cookie.split(";"); 3 for (i=0;i<ARRcookies.length;i++) { 4 x=ARRcookies[i].substr(0,ARRcookies[i].indexOf("=")); 5 y=ARRcookies[i].substr(ARRcookies[i].indexOf("=")+1); 6 x=x.replace(/^\s+|\s+$/g,""); 7 if (x==c_name) { 8 return unescape(y); 9 } 10 } 11} 12 13function inArray(elem,array) { 14 var len = array.length; 15 for(var i = 0 ; i < len;i++){ 16 if(array[i] == elem){return true;} 17 } 18 return false; 19} 20 21if (screen.width <= 760) { 22 var ua = navigator.userAgent, 23 realMobile = / mobile/i.test(ua), 24 esuMobile = getCookie('esuMobile') === "esu"; 25 26 if (getCookie('siteVersion') != "desktop" || (realMobile && esuMobile)) { 27 var goTo = window.location.pathname.replace(/^(\/m\/)/,""); 28 if (goTo.charAt(0) == "/") goTo = goTo.substr(1); 29 goTo = '/m/'+goTo; 30 //var kom = window.location.pathname.match(/komentarai\/(\d+)\//); 31 if(window.location.host.search(".dev.") < 1) { 32 //window.location = window.location.protocol + '//' + window.location.host + goTo + window.location.search; 33 window.location = 'https://' + window.location.host + goTo + window.location.search + window.location.hash; 34 } 35 } 36}
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.