I do not wish viewers upon my webpage to be means to review a javascript!
One thought on “How do you encrypt javascript so people cant read it, or how can you hide source? plz help?”
There are several javascript compressors out there, that have the side-effect of obfuscating the code. See link below for a list of 4 of them, but YUI is probably the best. It works for Yahoo.
People will still be able to see your code, no getting around that. But understanding what the code actually does is much, much harder. Someone would have to *REALLY* want to steal your code.
A good side effect: You can now comment your javascript code properly without worrying about how big the file gets, or having end users read your comments.
There are several javascript compressors out there, that have the side-effect of obfuscating the code.
See link below for a list of 4 of them, but YUI is probably the best. It works for Yahoo.
People will still be able to see your code, no getting around that. But understanding what the code actually does is much, much harder. Someone would have to *REALLY* want to steal your code.
A good side effect: You can now comment your javascript code properly without worrying about how big the file gets, or having end users read your comments.