1$( document ).ready(function() { 2 3 function getParameterByName(name) { 4 name = name.replace(/[\[]/, "\\[").replace(/[\]]/, "\\]"); 5 var regex = new RegExp("[\\?&]" + name + "=([^&#]*)"), 6 results = regex.exec(location.search); 7 return results === null ? "" : decodeURIComponent(results[1].replace(/\+/g, " ")); 8 } 9 10 var query = getParameterByName('q'); 11 if(query != ""){ 12 $('#cref_iframe_results .span4').val(query); 13 } 14});
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.