PageSourceSearch

https://www.homeware.cz/include/js/novinky.js

js homeware.cz collected 2026-09-26 17:42:30 UTC 1,071 bytes, 41 lines download raw bytes

1//	var xmlHttp;
2
3	function novinky_hlaska() {
4		if (xmlHttp.readyState == 4 || xmlHttp.readyState == "complete") {
5			var hlp = xmlHttp.responseText.split("|");
6			var okynko = document.getElementById("novinky_okenko");
7			okynko.value = hlp[1];
8			alert(hlp[0]);
9		}
10	}
11
12	function vytvorXMLHttpObject() {
13		var xmlHttp = null;
14		if (window.ActiveXObject) {
15			xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
16		}
17		else if (window.XMLHttpRequest) {
18			xmlHttp = new XMLHttpRequest();
19		}
20		return xmlHttp;
21	}
22
23	function novinka_form_send(root,email){
24		xmlHttp = vytvorXMLHttpObject();
25		if (xmlHttp != null) {
26			var path = root+"scripts/novinky_zapis.php";
27			path += "?ajax=1&EmailNovinek=" + email + "&novinky=" + agree;
28			xmlHttp.open("GET", path);
29			xmlHttp.onreadystatechange = novinky_hlaska;
30			xmlHttp.send(null);
31		}
32		return false;
33	}
34
35	function fce_onsubmit(form_novinky,root,email) {
36//		if (check_double_submit(form_novinky)) {
37			return novinka_form_send(root,email);
38//		} else {
39//			return false;
40//		}	
41	}

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.