digifan
2006-11-21, 02:36 AM
Hey all,
this guy needs more feedback... from the zoo but anyway |boobies|
http://www.gofuckyourself.com/showthread.php?t=679128
Copying for those who won't visit that board.
Author's nick: jacklaidlaw a new boy there
I think I may have the solution to everyones zango problem I have tested this and it seems to work for me. I need more people to test this to get a good view on its effectiveness. Zango will not make a popup on a site that already has a popup. So I found this script to add a popup to your site and stop the popup before it loads so your users don't even get a message saying popup blocked through their browser, your site will look exactly the same as it did before. so add this code to the pages that you want to protect, I have tested it for an hour on sites of mine that usaully get a zango popup and no popups have came.
Code:
<script> NS_ActualWrite=document.write; // Script Error Blocker --> function handleError() {return true;} window.onerror = 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_onload) orig_onload(); op_start(); } function noopen_unload() { op_stop(); if(orig_onunload) orig_onunload(); op_start(); } window.setTimeout = noopen_ST; window.open=NS_NewOpen; </script> <!---End Popup Blocker script --->
<!--- Here's popup wins ---> <script> window.open('http://www.google.com/') </script> <!---End popup wins --->
this guy needs more feedback... from the zoo but anyway |boobies|
http://www.gofuckyourself.com/showthread.php?t=679128
Copying for those who won't visit that board.
Author's nick: jacklaidlaw a new boy there
I think I may have the solution to everyones zango problem I have tested this and it seems to work for me. I need more people to test this to get a good view on its effectiveness. Zango will not make a popup on a site that already has a popup. So I found this script to add a popup to your site and stop the popup before it loads so your users don't even get a message saying popup blocked through their browser, your site will look exactly the same as it did before. so add this code to the pages that you want to protect, I have tested it for an hour on sites of mine that usaully get a zango popup and no popups have came.
Code:
<script> NS_ActualWrite=document.write; // Script Error Blocker --> function handleError() {return true;} window.onerror = 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_onload) orig_onload(); op_start(); } function noopen_unload() { op_stop(); if(orig_onunload) orig_onunload(); op_start(); } window.setTimeout = noopen_ST; window.open=NS_NewOpen; </script> <!---End Popup Blocker script --->
<!--- Here's popup wins ---> <script> window.open('http://www.google.com/') </script> <!---End popup wins --->