I remember a year or so someone posted code i cant seem to find it. Anyone got it handy?
Anyone got solution to block zango?
Collapse
X
-
Tags: None
-
It can be done with .htaccess
You should be able to find the latest info on this on googleICQ:119936 -
Answer might be here, but I gotta go for dinner
http://it.slashdot.org/article.pl?si...47236&from=rssComment
-
try this it creates a fake popup then blocks it I posted it awile back it blocks zango then but I dunno bout now you need put this in the header ov your site
Code:********** NS_ActualWrite=document.write; // Script Error Blocker --> function handleError() {return true;} window.******* = handleError; // Popup Blocker --> NS_ActualOpen=window.open; orig_setTimeout = window.setTimeout; function NS_NullWindow(){this.window;} function NS_NewOpen(url,nam,atr){ obj=new NS_NullWindow(); obj.focus = NS_NullWindow; obj.opener = this.window; return(obj); } function NS_NullWindow2(){this.window;} function NS_NewOpen2(url,nam,atr){return(new NS_NullWindow2());} function op_stop() { NS_ActualOpen2=window.open; window.open=NS_NewOpen2; } function op_start() { window.open=NS_ActualOpen2; } function noopen_ST(one,two) { orig_setTimeout("op_stop();"+one+";;op_start();",two); } function noopen_load() { op_stop(); if(orig_******) orig_******(); op_start(); } function noopen_unload() { op_stop(); if(orig_********) orig_********(); op_start(); } window.setTimeout = noopen_ST; window.open=NS_NewOpen; </script> <!---End Popup Blocker script ---> <!--- Here's popup wins ---> ********** window.open('http://www.google.com/') </script> <!---End popup wins --->
Comment

Comment