GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Anyone got solution to block zango? (https://gfy.com/showthread.php?t=830018)

TampaToker 05-21-2008 10:09 PM

Anyone got solution to block zango?
 
I remember a year or so someone posted code i cant seem to find it. Anyone got it handy?

Greg MissionD 05-21-2008 10:25 PM

It can be done with .htaccess
You should be able to find the latest info on this on google

Socks 05-21-2008 10:27 PM

Answer might be here, but I gotta go for dinner

http://it.slashdot.org/article.pl?si...47236&from=rss

seeric 05-21-2008 10:27 PM

there's a few ways. smokey the bear has a good one.

Fat Panda 05-21-2008 10:28 PM

i would like an easy fix to this too

jacklaidlaw 05-21-2008 10:40 PM

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 --->



All times are GMT -7. The time now is 10:37 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123