anonymize referer link

Discussion in 'Black Hat SEO Tools' started by yazzou, Jul 20, 2009.

  1. yazzou

    yazzou Registered Member

    Joined:
    Dec 19, 2008
    Messages:
    61
    Likes Received:
    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
     
  2. scriptkiddies

    scriptkiddies Junior Member

    Joined:
    Aug 5, 2008
    Messages:
    121
    Likes Received:
    207
    tinyurl
     
  3. XoC--

    XoC-- Jr. VIP Jr. VIP

    Joined:
    Mar 5, 2009
    Messages:
    218
    Likes Received:
    116
    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
     
  4. j4froc

    j4froc Registered Member

    Joined:
    Sep 19, 2008
    Messages:
    60
    Likes Received:
    8
    Code:
    http://a.myurl.in/
     
  5. yazzou

    yazzou Registered Member

    Joined:
    Dec 19, 2008
    Messages:
    61
    Likes Received:
    7
    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