We get multiple topics from people who wants to protect their contents from being stolen/ripped, and none of them seem to be able to use the search function...
There are two search buttons available in each forum. The one located on the top toolbar searches the complete PT forum. The other one, located to the right above the views and replies counters, says Search this Forum, and does exactly that.
Try entering "
hide source code" (without quotes) in the toolbar box and you'll get just about every thread about protecting source code in the entire forum.
Here are a few examples:
http://www.programmingtalk.com/showthread.php?t=17499
http://www.programmingtalk.com/showthread.php?t=13866
And here's the quick answer:
It is
NOT possible to entirely protect anything on the web, especially what's running clientside!
http://www.programmingtalk.com/showthread.php?t=26830 - This method even goes as far as using MD5 hashes to protect sources. But that can be brute-forced if somebody really wanted to find out what's been hidden.
Please start any new discussions about hiding/protecting source code using JavaScript in this thread, that way it is all kept in one place and it won't clutter up the forum with many similar threads.
Thank you for your attention.