PageSourceSearch

https://www.stmaryssaffronwalden.org/Modules/FrontPage/Search/SearchFunctions.js?SV=V136BK

js stmaryssaffronwalden.org collected 2026-10-02 13:02:44 UTC 1,056 bytes, 25 lines download raw bytes

1function doSiteSearch(id,def,network,groupid,includesubgroups) {
2    var searchboxid = id.substr(0, id.length - 2);
3    s = document.getElementById(searchboxid).value;
4	if (!s || s.trim() === '' || s == def) {return;}
5	var pound_re = /£/;
6	s=s.replace(pound_re,'LpoundL');
7	var url = '/publisher/search.aspx?searchString='+s+(network?'&searchScope=2':'')+(groupid?'&groupId=' + groupid + '&includeSubGroups=' + includesubgroups:'');
8	if (typeof(window['blnOpenAllLinksExternally']) != 'undefined'){
9		if(blnOpenAllLinksExternally) window.open(url, 'searchWin'); else window.location.href=url;
10	}else{
11		window.location.href=url;
12	}
13}
14
15function doInternetSearch(id,def,engine) {
16    var searchboxid = id.substr(0, id.length - 2);
17    s = document.getElementById(searchboxid).value;
18	if (s != def) {window.open('http://'+engine+s,'searchWin');}
19}
20
21function doShopSearch(id) {
22    var searchboxid = id.substr(0, id.length - 2);
23    s = document.getElementById(searchboxid).value;
24	location.href = '/Shop/Search.aspx?q=' + escape(s);
25}

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.