Zahnspangenterminator: Kann man es verhindern, dass...

Beitrag lesen

..., dass Opera hierbei durhdreht:
<script language="JavaScript">
<!--
function is_msie() {
return (navigator.appName == "Microsoft Internet Explorer");}
function Framing(){
if (this.document == top.document ||
top.location.host != this.location.host) {
var pathprefix = location.protocol + '//'

  • location.host
  • location.pathname.substring(0,
    location.pathname.lastIndexOf('/')+1);
    var doctitle = document.title;
    document.clear();
    document.open("text/html");
    document.writeln('<html>\n<head><title>WC24 - Der Webmaster-Channel</title></head>');
    document.writeln('<frameset rows="82,*" border="0">'+
    '<frame src="oben.php" scrolling="no"><frameset  cols="140,*,120" border="0"><frame src="navi.html">'+
    '<frame src="'+top.location.href+'" name="Anzeige">'+
    '<frame src="rechts.php" name="Rechts"></frameset></frameset><noframes>Ihr Browser unterstützt keine Frames!</noframes></head><body></body></html>');
    document.close();
    return true;
    }
    return false;
    }
    function msieFraming() {
    if (is_msie()) {
    if (Framing()) {
    window.setTimeout('top.frames["Anzeige"].location.href = '+
    '"'+top.location.href+'";',10);
    }}}
    function netscFraming() {
    if (!is_msie()) Framing();
    }
    msieFraming();
    //-->
    </script>

es ist ein Script, welches (auf eine etwas aufwändige Weise) checkt, ob eine Seite im Frame ist und wenn nicht, den automatisch nachlädt. Und Opera spielt bei diesem Script verrückt. Wer Opera hat kann sich das ja mal unter http://www.wc24.de.vu anschauen.
Kann man das irgendwie verhindern, dass Opera verrückt spielt oder gibt es ein einfacheres Script, welches vielleicht auch Opera versteht???