1function setCookie(key, value) { 2 var expires = new Date(); 3 expires.setTime(expires.getTime() + (1 * 24 * 60 * 60 * 1000)); 4 document.cookie = key + '=' + value + ';expires=' + expires.toUTCString(); 5} 6 7function getCookie(key) { 8 var keyValue = document.cookie.match('(^|;) ?' + key + '=([^;]*)(;|$)'); 9 return keyValue ? keyValue[2] : null; 10} 11 12function eraseCookie(key) { 13 var keyValue = getCookie(key); 14 setCookie(key, keyValue, '-1'); 15}
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.