1$(document).ready(function(){ 2 url_param = $(location).attr('search'); 3 url_param_array = url_param.substring(1).split( "&" ); 4 for(var i=0;url_param_array[i];i++) { 5 var key_value = url_param_array[i].split("="); 6 if ( key_value[0] == "routeKbn" ) { 7 if ( typeof(key_value[1])=="string" || key_value[1] instanceof String ) { 8 $.cookie( 'routeKbn', key_value[1], { path: '/', secure: true } ); 9 //$.cookie( 'routeKbn', key_value[1], { path: '/' } ); 10 } 11 } 12 if ( key_value[0] == "adid" ) { 13 if ( typeof(key_value[1])=="string" || key_value[1] instanceof String ) { 14 $.cookie( 'adid', key_value[1], { path: '/', secure: true } ); 15 //$.cookie( 'routeKbn', key_value[1], { path: '/' } ); 16 } 17 } 18 } 19});
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.