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

[SOLUTION] referer.us is down!

Discussion in 'CPA' started by laxj11, Aug 24, 2011.

  1. laxj11

    laxj11 Newbie

    Joined:
    Feb 22, 2009
    Messages:
    18
    Likes Received:
    1
    I'd love to share this with you guys. You've helped me get my feet under me in the IM biz... so here it goes: My end-all blank referrer script. I made this since referer*us went down and I needed a script for myself.

    Basically it works the same as referer*us only instead of sending it
    "referer*us/http;//my-cpa-form", you send it "handler*com/?http;//my-cpa-form".
    (notice the question mark)

    Just throw this on a php page and start sending links to it! It'll blank the referer for FF, Safari, Chrome, Opera.
    Code:
    <?
    $uri = $_SERVER['REQUEST_URI'];
    $u = substr($uri,2,strlen($uri));
    echo $u;
    $p = parse_url($u);
    $all = explode("&", $p['query']);
    ?>
    <script>
      function go(){
        window.frames[0].document.body.innerHTML='<form target="_parent" action="<? echo $u ?>">	<?
    	foreach ($all as $val){
    		$i = explode("=", $val);
    		echo '<input type="hidden" name="'.$i[0].'" value="'.$i[1].'" /> ';
    	}
    	?>
    	</form>';
        window.frames[0].document.forms[0].submit()
      }    
    </script>
    <iframe onload="window.setTimeout('go()', 99)" src="about:blank" style="visibility:hidden"></iframe>
     
  2. xpwizard

    xpwizard Junior Member

    Joined:
    Nov 6, 2010
    Messages:
    198
    Likes Received:
    122
    • Thanks Thanks x 1
  3. laxj11

    laxj11 Newbie

    Joined:
    Feb 22, 2009
    Messages:
    18
    Likes Received:
    1
    thanks! couldn't find that one... I like the edited version of it btw.
    Mine does not work with opera.