1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

[WTH] Simple Content Blocker Script Help

Discussion in 'Hire a Freelancer' started by thetvnun, May 9, 2011.

  1. thetvnun

    thetvnun Power Member

    Joined:
    Sep 8, 2010
    Messages:
    656
    Likes Received:
    255
    hey, so i have a simple content blocker script used for dollarade, something like this:

    Code:
    <script type="text/javascript" language="javascript">var hasloaded = false;</script><script type="text/javascript" language="javascript" src="http://www.dollarade.com/overlay_gateway.php?oid=12978b&pubid=2284"></script><script type="text/javascript" language="javascript">if (!hasloaded) { window.location = 'http://www.dollarade.com/adblock.php'; }</script><noscript><META http-equiv="refresh" content="0;URL=http://www.dollarade.com/noscript.php"></noscript>
    and what i need it to do is pretty simple, here it is:

    1) the above code is on site www.site1.com
    2) the content blocker loads like normal
    3) in the background www.site1.com re-directs (with masking) to www.site2.com


    thats it, basically, my site - site1.com is a gateway to another site, and to get to the other site, they have to complete the survey. its simply using my site to content block a site that is not mine.

    can you do this? with masking? pm me if so.