1$(function () { 2 var session_u_id=$.cookie("session_u_id"); 3 4 if(session_u_id==null){ 5 session_u_id=guid(); 6 $.cookie('session_u_id',session_u_id, { expires: 3650, path:'/' }); 7 } 8 var locationStr = ""; 9 // console.log(location.href) 10 if(location.href.indexOf("&billingAddress=")>0||location.href.indexOf("recapatcha_public_key=")>0||location.href.indexOf("orderId=")>0){ 11 locationStr=location.href.split('?')[0] 12 }else{ 13 locationStr=location.href; 14 } 15 if($.cookie("cmp")!=null){ 16 if(locationStr.indexOf("cmp=")<0){ 17 if(locationStr.indexOf("?")>0){ 18 locationStr+="&cmp="+$.cookie('cmp'); 19 }else{ 20 locationStr+="?cmp="+$.cookie('cmp'); 21 } 22 } 23 } 24 25 if($.cookie("utm_campaign")!=null){ 26 if(locationStr.indexOf("utm_campaign=")<0){ 27 if(locationStr.indexOf("?")>0){ 28 locationStr+="&utm_campaign="+$.cookie('utm_campaign'); 29 }else{ 30 locationStr+="?utm_campaign="+$.cookie('utm_campaign'); 31 } 32 } 33 } 34 35 36 37 38 $.ajax({ 39 type:"post", 40 url:"/api/log/proxy", 41 contentType: "application/json;charset=utf-8", 42 data:JSON.stringify({"pid":1,"tid":1,"s":session_u_id,"lan":navigator.language,"ip":"","ua":navigator.userAgent,"v":locationStr,"type":1}) 43 }); 44 function guid() { 45 return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function(c) { 46 var r = Math.random()*16|0, v = c == 'x' ? r : (r&0x3|0x8); 47 return v.toString(16); 48 }); 49 } 50 51 52 53})
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.