1 2 function search(e) 3 { 4 var site = document.getElementById('hdSite').value; 5 var search = document.getElementById('txtSearch').value; 6 var customConfig = "005028703777488337470%3Ajuzrgbs-gga"; 7 var customConfigSHS = "005028703777488337470%3Aes9dd0lv70k"; 8 var customConfigSEMS = "2198ed2393c7f4fb6"; 9 var customConfigAES = "005028703777488337470%3Apsdqlazr0yk"; 10 var customConfigTraining = "005028703777488337470%3Auwxm9prxoq8"; 11 var customConfigMagazine = "86d31620548fc41f6"; 12 13 if (site == "shs") 14 customConfig = customConfigSHS; 15 16 if (site == "sems") 17 customConfig = customConfigSEMS; 18 19 if (site == "goergo") 20 customConfig = customConfigAES; 21 22 if (site == "training") 23 customConfig = customConfigTraining; 24 25 if (site == "isemagazine") 26 customConfig = customConfigMagazine; 27 28 var query = "https://cse.google.com/cse?cx=" + customConfig + "&q=" + search 29 30 //alert(query); 31 e.preventDefault(); 32 window.location.href = query; 33 } 34 35
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.