Originariamente inviato da Dennis
tu spiega da 0 quello che vuoi fare...

visto che fai un clearInterval di un intervallo che non è settato a quanto ne so :f..
questo JS in pratica è una sorta di "fullscreen"
in pratica non fa altro che espandere la pagina html
a dimensioni tot come potrai notare.. questo funziona a
fullscreen con IE e a pagina totale con Mozilla, tuttavia
rimane questo errore appunto nella consolle di FireFox con
l'errore di cui parlavamo prima.. quindi basta far sparire l'eroore!

codice:
<SCRIPT language="JavaScript">
	<!--
	var CWINx;
	var CWIN;
	var interval;
	var interval02;
	function detect()
	{
		if(CWIN.closed)
		{
			CWINx.close();
			clearInterval(interval);
		}
	}
	/*function fuoco()
	{
		interval02=setInterval(function(){
			CWIN.focus();
			clearInterval(interval02);
		},1000);

	}*/
	function openSite()
	{
		interval=setInterval(detect,2000);
		var cont_site='<html>'+'\n'
						+'<head>'+'\n'
						+'<title>Realizzazione siti web - webbeloz.it - creazione sviluppo promozione siti internet </title>'+'\n'
						+'<body bgcolor=\"#FFFFFF\">'+'\n'
						+'<OBJECT classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0\" WIDTH=\"100%\" HEIGHT=\"100%\" id=\"webbeloz.it\" ALIGN=\"\">'+'\n'
						+'<PARAM NAME=movie VALUE=\"index_01.swf\"> <PARAM NAME=loop VALUE=false> <PARAM NAME=quality VALUE=high> <PARAM NAME=scale VALUE=noscale> <PARAM NAME=bgcolor VALUE=#FFFFFF> <EMBED src=\"index_01.swf\" loop=false quality=high scale=noscale menu=false bgcolor=#FFFFFF  WIDTH=\"100%\" HEIGHT=\"100%\" NAME=\"webbeloz.it\" ALIGN=\"\" TYPE=\"application/x-shockwave-flash\" PLUGINSPAGE=\"http://www.macromedia.com/go/getflashplayer\"></EMBED>'+'\n'
						+'</OBJECT>'+'\n'
						+'</body>'+'\n'
						+'</html>';
		var cx='<html>'+'\n'
						+'<head>'+'\n'
						+'<title>webbeloz.it - site -</title>'+'\n'
						+'<body onFocus="opener.fuoco()" bgcolor=\"#FFFFFF\">'+'\n'
						+'</body>'+'\n'
						+'</html>';

		if(document.all && (navigator.appVersion.indexOf("Win") != -1)){
			
			var winW=1600;
			var winH=1200;
			var w=screen.availWidth;
			var h=screen.availHeight; 
			var winX=(winW-w)/2;
			var winY=(winH-h)/2;

			CWINx = window.open( "" , "full", "fullscreen=1");
			CWINx.document.open();
			CWINx.document.write( cx );
			CWINx.document.close();

			CWIN = window.open( "" , "wname", "");
			CWIN.resizeTo( Math.ceil( winW ) , Math.ceil( winH ) );
			CWIN.moveTo( Math.ceil( -winX ) , Math.ceil( -winY ) );
			CWIN.document.open();
			CWIN.document.write( cont_site );
			CWIN.document.close();
			CWIN.focus();

		}else{
			var w=screen.availWidth;
			var h=screen.availHeight;
			newWin=window.open("","webbeloz","toolbar=no,scrollbar=no,height="+h+",width="+w);
			newWin.document.write(cont_site);
			newWin.document.close();
			newWin.moveTo(0,0);
		}
	}
	var MM_contentVersion = 6;
	var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? 	navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;
	if ( plugin ) {
		var words = navigator.plugins["Shockwave Flash"].description.split(" ");
	   	 for (var i = 0; i < words.length; ++i)
	   	 {
		if (isNaN(parseInt(words[i])))
		continue;
		var MM_PluginVersion = words[i]; 
	    }
		var MM_FlashCanPlay = MM_PluginVersion >= MM_contentVersion;
	}
	else if (navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0 
   	&& (navigator.appVersion.indexOf("Win") != -1)) {
	document.write('<SCR' + 'IPT LANGUAGE=VBScript\> \n'); //FS hide this from IE4.5 Mac by splitting the tag
	document.write('on error resume next \n');
	document.write('MM_FlashCanPlay = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & 		MM_contentVersion)))\n');
	
	document.write('</SCR' + 'IPT\> \n');
	}
	if ( MM_FlashCanPlay ) {
		openSite();
	}
	//-->
</SCRIPT>