How To Hide Affiliate Link With Javascript

Or “Javascript Obfusticator” with PHP.

Script below will take your affiliate link and obfusticate it.

Just type in the affiliate link that you want obscured, the vendor’s link, click “submit” and the script will return code that you copy and paste into your html page.

The PHP script that generates the hidden affiliate link takes each ascii character of your affiliate link, uses an ascii table lookup to find the corresponding decimal representation and makes the substitution.

Note that not all affiliate programs allow or like this “cookie dropping”, check with your program before using.

Comments on this entry are closed.

Previous post:

Next post: