PageSourceSearch

https://hutchisonports.com/js/search.js?v=1790287902

js hutchisonports.com collected 2026-09-24 22:12:55 UTC 1,580 bytes, 55 lines download raw bytes

1var search = {
2    u:"",
3    key:"",
4    ttpg:1,  
5	cleankey:function(k) { return lib.clean(k,"sword"); },  
6    init:function() {
7		$(".mskeyi").each(function(index){
8			var _this = $(this);
9			_this.keypress(function(e){
10				if (e.keyCode == 13) { 
11					var k = search.cleankey($.trim(_this.val()));
12					if(k!="") {
13						var s=(search.u.indexOf("?")>=0)?"&":"?";
14						goUrl(search.u+s+"k="+k);
15						return false;
16					} else return false; 
17				}
18			});
19			_this.next(".mskeyb").click(function(){
20				var k = search.cleankey($.trim(_this.val()));
21				var s=(search.u.indexOf("?")>=0)?"&":"?";
22				goUrl(search.u+s+"k="+k);
23			});
24		});
25        $("#dskeyi,#mskeyi").keypress(function (e) {
26            if (e.keyCode == 13) { 
27                var k = search.cleankey($.trim($(this).val()));
28                if(k!="") {
29					var s=(search.u.indexOf("?")>=0)?"&":"?";
30                    goUrl(search.u+s+"k="+k);
31                    return false;
32                } else return false; 
33            }
34        });
35    },
36    go:function(j) {
37        var i = $("#"+j);
38        var k = search.cleankey($.trim(i.val()));
39        if(k!="") {
40			var s=(search.u.indexOf("?")>=0)?"&":"?";
41            goUrl(search.u+s+"k="+k);
42            return false;
43        } else return false;         
44    },
45	chpg:function(){
46		var k = this.key;
47		var str = "";
48		var pg = parseInt($("#srpg").val());
49		if(pg == "") return;
50		str+=(search.u.indexOf("?")>=0)?"&":"?";
51		str+="pg="+pg;
52		if(k !== "") str += "&k="+k;
53		goUrl(search.u+str);
54	}
55};

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.