1function WHCreateCookie(name, value, days) { 2 var date = new Date(); 3 date.setTime(date.getTime() + (days*24*60*60*1000)); 4 var expires = "; expires=" + date.toGMTString(); 5 document.cookie = name+"="+value+expires+"; path=/"; 6} 7function WHReadCookie(name) { 8 var nameEQ = name + "="; 9 var ca = document.cookie.split(';'); 10 for(var i=0; i < ca.length; i++) { 11 var c = ca[i]; 12 while (c.charAt(0) == ' ') c = c.substring(1, c.length); 13 if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length, c.length); 14 } 15 return null; 16}
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.