Simple way to obfuscate javascript code by PHP
<p>I want to give a free download to my web visitor but I will hide the download link until they click the facebook like button. After they like it then jquery will make the button active and add 'href' attribute to the  tag, contains path to the file, so then user will be able to click the link and download the file. </p>

<p>The problem is, user will be able to see the path easily when viewing source of the html in their browser.
Is there any easy way in php (I put the javascript codes inside on PHP file) to make a the path is harder to read? </p>

<p>It's fine when people will be able to deobfuscate it. I just want to make it harder to read for non advance user, so then people will consider to like the link instead of finding a way to deobfuscate the code.</p>

<p>Thank you</p>
