1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Hide your affiliate id on your website

Discussion in 'Web Design' started by jjhann, Jun 30, 2009.

  1. jjhann

    jjhann Newbie

    Joined:
    Feb 16, 2008
    Messages:
    28
    Likes Received:
    1
    Here's something that I use myself and might be useful for others.
    I like to hide my affiliate id on my website. Here's how you do it.

    Code:
    <a href="http://www.yahoo.com" onclick="parent.location.href='http://www.google.com'; return event.returnValue=false">Your text here, or your image.</a href>
    What this does is mask the affiliate id on your status bar, so when you hold your mouse over the link it shows Yahoo, but in fact, when you click it, it goes to Google.

    Then, to finish it off head over to
    Code:
    http://scriptasylum.com/tutorials/encdec/javascript_encoder.html
    and encode your final html code to java. Anyone trying to view your source code will now see jibberish. Alternatively, you can just encode your entire website.

    Enjoy. :D
     
  2. ojojoj

    ojojoj Newbie

    Joined:
    Jun 26, 2009
    Messages:
    17
    Likes Received:
    2
    Could I show whatever I like on my status bar?
    Doesn´t it matter if I encode html or java to the Javascript Encoder?
     
  3. jjhann

    jjhann Newbie

    Joined:
    Feb 16, 2008
    Messages:
    28
    Likes Received:
    1
    Yes, you can put whatever you want to show on the status bar. Once you got your code setup and finished, then convert it with the javascript link I mentioned.