Safari not blanking referrer?


Regular Member
Oct 3, 2008
I'm using this dmr script:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<?php //Grab arguments from the GET string
$SEC = $_GET['S'];
//If on second bounce SEC = 1
if ( $SEC == '1' )
//Validate (make sure the referer cleared)
if ( $_SERVER['HTTP_REFERER'] == '' )
//Landing page
else //Bad! dump them somewhere!
//Dump location (for metas that didn't clear)
else //First time through--bounce them back!
$self = $_SERVER['SCRIPT_NAME'];
?><?php print("<meta http-equiv=refresh content='0;url=$bounce_loc'>");

When I navigate to the page with firefox, it bounces me to landing page-- when I navigate to it with Safari, it bounces me to Google. Any ideas?
Safari doesn't clear the referer on a meta refresh apparently. (I just tested and verified this myself.) At least the script makes sure the referer doesn't get passed on to your affiliate :)

I do not know any good ways to blank the referer for Safari. So, you have three real options.
A. Take the Safari users as a loss (3.5-4% of web users)
B. Make all the traffic appear to come from a certain page that looks legitimate. (i.e. has an affiliate banner on top when normally displayed, but acts as a javascript bounce page (which leaves Referer) when being used as a bouncer.
C. Make only the non-cleared traffic to appear as in B, as opposed to all of it, though this might look weird to the affiliate
AdBlock Detected

We get it, advertisements are annoying!

Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features and essential functions on BlackHatWorld and other forums. These functions are unrelated to ads, such as internal links and images. For the best site experience please disable your AdBlocker.

I've Disabled AdBlock