KAnn mit jemand dieses Script erklären???
Ich check das nich....
Danke schonmal....
MFG ReemE
Code:
<script LANGUAGE="JavaScript">
<!-- Begin
ok_urls = new Array();
ok_urls[1] = "http://www.deinedomein.de/tut.html";
ok_urls[2] = "http://www.deinedomain2.de/index3.html";
function reportError(msg, url, line) {
if (url == window.location.href) {
msg = "so geht das nicht";
alert(msg);
top.location.href = ok_urls[1] + "?" + window.location.href;
return true;
}
}
window.onerror = reportError;
url_found = 0;
for (var i = 1; i <= ok_urls.length && !url_found; i++) {
url_found = (parent.location.href.indexOf(ok_urls[i]) == -1);
}
if (!url_found || (window == top))
top.location.href = ok_urls[1] + "?" + window.location.href;
// End -->
</script>
Ich check das nich....
Danke schonmal....
MFG ReemE