1$(function () { 2 // read marketo cookie and put it under current domain 3 let _mkto_trk = readCookie("_mkto_trk"); 4 if (!_mkto_trk) return; 5 6 let domain = window.location.hostname; 7 setCookie('_mkto_trk_local', _mkto_trk, domain); 8 9 10 function setCookie(cookieName, cookieValue, domain) { 11 var myDate = new Date(); 12 myDate.setMonth(myDate.getMonth() + 1); 13 document.cookie = cookieName + "=" + cookieValue + ";expires=" + myDate 14 + ";domain=" + domain + ";path=/"; 15 } 16 17 function readCookie(name) { 18 var cookiename = name + "="; 19 var ca = document.cookie.split(';'); 20 for (var i = 0; i < ca.length; i++) { 21 var c = ca[i]; 22 while (c.charAt(0) == ' ') c = c.substring(1, c.length); 23 if (c.indexOf(cookiename) == 0) return c.substring(cookiename.length, c.length); 24 } 25 return null; 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.