Hiding the Referrer

Sandbox2

Newbie
Joined
May 28, 2015
Messages
28
Reaction score
0
How do I hide the referrer if an affiliate gives me a script code for a banner?

say I want to promote it on my indian porn site and the affiliate is flipkart.
 
that's only for the url

how would I hide something like this:


<div data-WRID="WRID-xxxxxxxxxxxxxxxxxxxxxx" data-widgetType="featuredDeals" data-responsive="yes" data-class="affiliateAdsByFlipkart" height="250" width="300"></div><script async src="//affiliate-static.flixcart.com/affiliate/widgets/FKAffiliateWidgets.js"></script>
 
that's only for the url

how would I hide something like this:


<div data-WRID="WRID-xxxxxxxxxxxxxxxxxxxxxx" data-widgetType="featuredDeals" data-responsive="yes" data-class="affiliateAdsByFlipkart" height="250" width="300"></div><script async src="//affiliate-static.flixcart.com/affiliate/widgets/FKAffiliateWidgets.js"></script>

You can't. This code is inserted in your landingpage, and the clients browser gives the full url as referer as where the script/ image/ whatever is installed on. You could try to copy the javascript to your own website, but from these javascript often other script or images or whatevers are launched and they do the same.

But doesn't your aff wants to know which website(s) you use to send traffic?

Maybe you could do an Iframe. Put an iframe in the website you wanna hide, the iframe can be a site you don't wanna hide to your aff.

Like this for example:

HTML:
<html>
Your sneaky site
<iframe>your not so sneaky site with the javascript embedded</iframe>
</html>
 
Hiding the Referrer is a sneaky way to get ride of affiliate rules , I never thought it this way thank you guys for ideas i think it starting point for me . I was though using another referrer harder the it look .
 
that's only for the url

how would I hide something like this:


<div data-WRID="WRID-xxxxxxxxxxxxxxxxxxxxxx" data-widgetType="featuredDeals" data-responsive="yes" data-class="affiliateAdsByFlipkart" height="250" width="300"></div><script async src="//affiliate-static.flixcart.com/affiliate/widgets/FKAffiliateWidgets.js"></script>

host that code in a html file on a different domain.
insert that domain/file.html as an iframe on your site.
The referrer would be the other domain in that case.
But if the javascript needs to interact with anything on your real site it will fail though.

EDIT: Forgot, also, for an extra layer you could set the other domain up as https which will blank the referrer.

EDIT2: Roadhamster covered it above, missed that, sorry.
 
Last edited:
Back
Top