1function helper_GetUrlParams(prop, ref) { 2 var url = ref ? document.referrer : window.location.href; 3 var params = {}; 4 var search = decodeURIComponent(url.slice(url.indexOf("?") + 1)); 5 var definitions = search.split("&"); 6 7 definitions.forEach(function (val, key) { 8 var parts = val.split("=", 2); 9 params[parts[0]] = parts[1]; 10 }); 11 12 return prop && prop in params ? params[prop] : null; 13}
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.