{GET} How To Blank Referrer With iFrame

I just thought of something better.

If the referer is the domain then show the iframe.

If its not the correct referer instead of iframe just have a meta refresh to the offer.

So if the AM trys to look at the page it will instantly go to the offer.

Have it set in a directory like www.whitehatsite.com/scripts/tracking/xxxx.php

So they will just thing that its a php file used for tracking :)
 
Would you like to explain what you mean by "fake jpg files with php code"?
 
If your AM does not know the page it is coming from and can only see the referrer from the white hat domain and they simply get redirected to the offer when they go to that page their shouldnt be any problems as it would just look like a PHP redirect.
 
If you framed your own page that refreshed to your offer, what would show as the referrer? Is this what you are accomplishing with this?


I'm at work right now so I can't
 
Last edited:
Using live headers plugin for firefox I have been the referrer as checkoutoursponsor.php which is the final redirect to the landing page of the affiliates site. If you set it so that if referrer = "" (Blank) to redirect to the landing page of the affiliate they will check the page and think its a simple PHP redirect. And then set so that if referrer = black hat site then show iFrame so your AM will not see anything except a simple PHP redirect and think that it is legit.
 
I think people should give "thanks" to quality posts like this because it makes people encouraged to share even more valuable information in the future.
 
I think people should give "thanks" to quality posts like this because it makes people encouraged to share even more valuable information in the future.

I agree, but this coming from someone who has only dished out 8 thanks... :rolleyes:
 
@gimmeefree - I downloaded the script and did exactly as given in the Read me file.

The problem i am facing is that when i give the blackhat site url in the browser the entire page refreshes to affiliate page instead of just showing up in the iframes. Do u know what might cause this issue?

Thanks in advance.
 
You need an anti-framebreaker. This is because the offer you have chosen has a frame breaker. Harro posted one on this forum somewhere.
 
Nothing you can do about that, choose another offer.

Gimme: What did harrow post somewhere? A frame breaker? Anti-frame breaker... im confused by that last bit! haa
 
An anti-framebreaker. Stops the offer from refreshing out of your page
 
Do you happen to know of some code/script to anti-frame break? I'm also looking for this.
 
As far as I know its practically impossible to stop frame breakers as you would need access to their server/html.
 
Harro has posted an antiframebreaker, search through his posts
 
fyi: i purchased a month of the Cake Slice App that someone is selling on here. It is an i-frame that is supposed to blank the referrer. what is nice about the app is you can "cut out" the submit that you want to use.
 
Nearly done, having trouble with 1 part, not sure if this is possible or not but if anyone knows please help. I want to have the offer so the referring page must be from my own domain but instead of a redirect like the one in the code below I would like to echo the iFrame instead else redirect to homepage. Anyone know if this is possible?

So basically if there is no referrer they will not be able to see the iFrame and if there is a referrer the iFrame will show.

Would prefer to have it as if referrer = 10roostersmedia.com then display iframe and else echo homepage if anyone could help :)

Did you get this to work? I was thinking about this as an added protiection for other stuff, and thought of this thread, but you never replied back that I can tell getting this to work.

I found this on another site....

Code:
$varable = $_SERVER['HTTP_REFERER'];
if($varable == "yourdomain")
{
stuff to show
}
elseif($varable == "")
{
stuff to show
}

Havn't tested these yet, but they should do the trick.
 
Thanks boo, I been lazy and bought cakeslice lol, will sort this out again soon
 
Thanks boo, I been lazy and bought cakeslice lol, will sort this out again soon

Yeah, but even with the double meta refresh I still think the referer check is a good idea for anyone direct linking into the pages.
 
Back
Top