heute ist mir zum ersten mal aufgefallen (und es ist sicherlich auch nicht immer schon dagewesen), dass in den Layouts (Version 4.3.2beta) folgende Zeilen direkt nach dem Head erscheinen:
Code: Alles auswählen
<script language="javascript"><!--
function wwOnError() {
return true;
}
onerror = wwOnError;
function wwLocation() {
this.href = "";
this.toString = wwLocation_toString;
}
function wwLocation_toString() {
return this.href;
}
function wwWindow() {
this.location = new wwLocation();
this.status = "";
this.blur = wwWindow_dummy;
this.close = wwWindow_dummy;
this.focus = wwWindow_dummy;
this.forward = wwWindow_dummy;
this.handleEvent = wwWindow_dummy;
this.home = wwWindow_dummy;
this.moveBy = wwWindow_dummy;
this.moveTo = wwWindow_dummy;
this.navigate = wwWindow_dummy;
this.open = wwOpen;
this.resizeBy = wwWindow_dummy;
this.resizeTo = wwWindow_dummy;
this.scroll = wwWindow_dummy;
this.scrollBy = wwWindow_dummy;
this.scrollTo = wwWindow_dummy;
this.setInterval = wwWindow_dummy;
this.setTimeout = wwWindow_dummy;
this.stop = wwWindow_dummy;
}
function wwWindow_dummy() {
}
var wwLastClick = new Date (0);
function wwOnMouseUp() {
wwLastClick = new Date();
}
function wwOpen (url, name, attributes) {
var currentTime = new Date();
if (name == "_top" || name == "_self" || (currentTime.getTime() - wwLastClick.getTime()) < 3000) {
if (attributes) {
return wwRealOpen (url, name, attributes);
} else if (name) {
return wwRealOpen (url, name);
} else {
return wwRealOpen (url);
}
}
return new wwWindow();
}
var wwOpenInstalled;
if (window.open != wwOpen && !wwOpenInstalled) {
wwRealOpen = window.open;
window.open = wwOpen;
document.open = wwOpen;
open = wwOpen;
wwOpenInstalled = true;
}
//--></script>