W momencie otwierania mojej strony wyskakuje popup(ktorego nie mam dopisanego do stronki. Firefox wylapuje taki skrypt:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN" "http://www.w3.org/TR/REC-html40/frameset.dtd"> <html> <head> <script type="text/javascript"> //<!-- var display = true; var cookieEnabled = true; function __addFlash(src, width, height, bgcolor, wmode){ if (!bgcolor) bgcolor=''; var _f=''; _f = '<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" '; _f += 'WIDTH="'+width+'" HEIGHT="'+height+'">'; _f += '<PARAM NAME="movie" VALUE="'+src+'"><PARAM NAME="quality" VALUE="high">'; _f += '<PARAM NAME="bgcolor" VALUE="'+bgcolor+'">'; if(wmode!=null) _f += '<PARAM NAME="wmode" VALUE="'+wmode+'">'; _f +='<PARAM NAME="scale" VALUE="noscale">'; _f += '<EMBED scale="noscale" src="'+src+'" WIDTH="'+width+'" HEIGHT="'+height+'" quality="high" '; if (wmode) _f += 'wmode="'+wmode+'" '; if (bgcolor) _f += 'bgcolor="'+bgcolor+'" ' ; _f += 'TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"><\/EMBED>'; _f += '<\/OBJECT>'; return _f; } function __addLayer(width, height, left, top, visibility,position, zIndex, name,text,background){ if(!name) name='_mainWindow'; if (zIndex==null) zIndex=101; if (!visibility) visibility='visible'; var _l=''; _l = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" '; _l += '"http://www.w3.org/TR/html4/loose.dtd"><html><title>Reklama - nazwa.pl<\/title><\/head><body>'; _l += '<div '; _l += 'id="'+name+'" name="'+name+'" style="'; _l += 'position: '+position+'; '; _l += 'background: '+background+'; '; _l += 'width: '+width+'px; height: '+height+'px; '; if (top!=null) _l += 'top: '+top+'px; ' if (left!=null) _l += 'left: '+left+'px; '; _l += 'z-index: '+zIndex+'; '; _l += '">'; if(text!=null)_l +=text; _l += '<\/div><\/body><\/html>'; return _l; } function __BanerWindow(src,width,height){ if(src=='')return 0; this.banerWindow=null; this.banerWindow=null; this.banerWidth=width; this.banerHeight=height; var _mf = __addFlash(src,width,height,'white'); this.baner= __addLayer(width, height, 0, 0, 'visible','absolute',96, 'dic12323re',_mf,'transparent'); this.initWindow = function(){ var left=(screen.width/2)-(this.banerWidth/2); var top =(screen.height/3)- this.banerHeight; if(top<=0)top=40; var conf="menubar=no, toolbar=no, location=no, scrollbars=no, resizable=no, status=no,width="+this.banerWidth+",height="+this.banerHeight+",left="+left+",top="+top; this.banerWindow=window.open("","_blank",conf); if (typeof this.banerWindow.blur !="undefined" ) { this.banerWindow.blur() } } this.showWindow = function (){ this.banerWindow.document.write(this.baner); this.banerWindow.document.close(); } this.initWindow(); this.showWindow(); } function setCookie() { var date = new Date(); date.setTime(date.getTime()+(4*60*60*1000)); var curCookie = "visit=1; expires=" + date.toGMTString() + "; path=/"; document.cookie = curCookie; } function readCookie() { if (cookieEnabled == false) return null; var nameEQ = "visit="; var ca = document.cookie.split(';'); for(var i=0;i < ca.length;i++) { var c = ca[i]; while (c.charAt(0)==' ') c = c.substring(1,c.length); if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length); } return null; } function correctDate() { var today = new Date(); var todayString = today.getFullYear()+'.'; dm = new String(today.getMonth()+1); if (dm.length == 1) dm = '0' + dm; dt = new String(today.getDate()); if (dt.length == 1) dt = '0' + dt; todayString = todayString + dm + '.' + dt; var dates = new Array(); dates[0] = "2006.09.10-2006.12.31"; dates[1] = "2006.10.20"; dates[2] = "2006.08.23"; for (var i=0;i<dates.length;i++){ if (dates[i] == todayString) return false; } var temp; for (var i=0;i<dates.length;i++) { temp = dates[i].split('-'); timeA = new Date(temp[0]); timeB = new Date(temp[1]); if (timeA <= today && today <= timeB) return false; } return true; } if (readCookie()!='1' && correctDate() && display) { new __BanerWindow('http://www.ad.netart.pl/URL/actual2.swf',750,550); setCookie(); } //--> </script> </head> <frameset> <frame name="strona" src="" frameborder="0" /> <noframes> <body> <div> Twoja przeglądarka nie obsługuje ramek.<br> <hr> </div> </body> </noframes> </frameset> </html>
Co to moze byc?
Dodam ze strona stoi na platnym serwerze nie majacym zadnego zwiazku z nazwa.pl