anonymize referer link

yazzou

Registered Member
Joined
Dec 19, 2008
Messages
61
Reaction score
7
Hello,
Is there a piece of code or script around allowing me to anonymize referer links, so i can t be identified by the site owners i am linking to ?
Thanks in advance
yazzou
 
You could put this javascript in the body of your page
Code:
<script type="text/javascript">
  for (var i = 0; i<document.links.length; i++) {
    if(document.links[i].href.match(/http:\/\//i))
    {
      document.links[i].href = document.links[i].href.replace(/(.+)/, "http://hiderefer.org/?$1");
    }
  }
</script>

This would use BHW hiderefer website
Alternatively if you just wanted to hide affiliate URLs you could change the regex to something like this
Code:
if(document.links[i].href.match(/http:\/\/www.affiliatecompany.com/i))

This script makes the browser see your URLs as http://hiderefer.org/?http://somelink.com
 
hello i found this while searching, it works pretty good :
PHP:
http://www.jampmark.com/web-scripting/hide-referer-information.html
thanks for the replies
 
Back
Top