1// Creating and reading credit: http://stackoverflow.com/a/1460174/1177153 2function createCookie( name, value, days ) { 3 var expires; 4 if ( days ) { 5 var date = new Date(); 6 date.setTime( date.getTime()+( days * 24 * 60 * 60 * 1000 ) ); 7 expires = "; expires="+date.toGMTString(); 8 } else { 9 var expires = ""; 10 } 11 12 document.cookie = name + "=" + value + expires + "; path=/"; 13} 14 15function readCookie( name ) { 16 var nameEQ = name + "="; 17 var ca = document.cookie.split( ";" ); 18 for ( var i = 0; i < ca.length; i++ ) { 19 var c = ca[i]; 20 while ( c.charAt(0)==" " ) c = c.substring( 1, c.length ); 21 if ( c.indexOf( nameEQ ) == 0 ) return c.substring( nameEQ.length, c.length ); 22 } 23 return null; 24}
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.