PageSourceSearch

https://www.esdm.co.uk/ClientScript/mojocombined/mojocombinedfull.js?v3

js esdm.co.uk collected 2026-09-24 17:33:45 UTC 2,242 bytes, 36 lines download raw bytes

1//misc functions
2function watermarkEnter(obj, wm) { if (obj.value == wm) { obj.value = ''; obj.style.color = ''; obj.select(); } }
3function watermarkLeave(obj, wm) { if (obj.value == '') { obj.value = wm; } }
4function trackUserLocation(location) { if (location == null) { return; } }
5function Get_Cookie(check_name) {
6	var a_all_cookies = document.cookie.split(';'); var a_temp_cookie = ''; var cookie_name = ''; var cookie_value = ''; var b_cookie_found = false; var i = ''; for (i = 0; i < a_all_cookies.length; i++) {
7		a_temp_cookie = a_all_cookies[i].split('='); cookie_name = a_temp_cookie[0].replace(/^\s+|\s+$/g, ''); if (cookie_name == check_name) {
8			b_cookie_found = true; if (a_temp_cookie.length > 1) { cookie_value = decodeURIComponent(a_temp_cookie[1].replace(/^\s+|\s+$/g, '')); }
9			return cookie_value; break;
10		}
11		a_temp_cookie = null; cookie_name = '';
12	}
13	if (!b_cookie_found) { return null; }
14}
15function Set_Cookie(name, value, expires, path, domain, secure) {
16	var today = new Date(); today.setTime(today.getTime());
17	if (expires) {
18		expires = expires * 1000 * 60 * 60 * 24;
19	}
20	var expires_date = new Date(today.getTime() + (expires));
21	document.cookie = name + "=" + encodeURIComponent(value) +
22		((expires) ? ";expires=" + expires_date.toGMTString() : "") +
23		((path) ? ";path=" + path : "") +
24		((domain) ? ";domain=" + domain : "") +
25		((secure) ? ";secure" : "");
26}
27function Delete_Cookie(name, path, domain) {
28	if (Get_Cookie(name)) document.cookie = name + "=" +
29		((path) ? ";path=" + path : "") +
30		((domain) ? ";domain=" + domain : "") + ";expires=Thu, 01-Jan-1970 00:00:01 GMT";
31}
32/* page exit prompt */
33var exitThisPagePrompt = 'Are you sure you want to leave this page?'; var alreadySetExitPrompt = false; var requireExitPrompt = false; var contentDidChange = false;
34function goodbye(e) { if (!requireExitPrompt) { return; } if (!contentDidChange) { return; } return exitThisPagePrompt; }
35function hookupGoodbyePrompt(message) { contentDidChange = true; if ((!alreadySetExitPrompt) && (requireExitPrompt)) { exitThisPagePrompt = message; alreadySetExitPrompt = true; window.onbeforeunload = goodbye; } }
36function unHookGoodbyePrompt() { requireExitPrompt = false; }

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.