1var vars = {}; 2var param = location.search.substring(1).split('&'); 3 4for(var i = 0; i < param.length; i++) { 5 var keySearch = param[i].search(/=/); 6 var key = ''; 7 if(keySearch != -1) key = param[i].slice(0, keySearch); 8 var val = param[i].slice(param[i].indexOf('=', 0) + 1); 9 if(key != '') vars[key] = decodeURI(val); 10} 11 12if ('k1' in vars && 'ymfg' in vars && vars['ymfg'] == 'YBK') { 13 Rtoaster.init("RTA-1e44-2f1e7510074d",vars['k1']); 14 Rtoaster.track(); 15}else { 16 Rtoaster.init("RTA-1e44-2f1e7510074d"); 17 Rtoaster.track(); 18}
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.