Possible Duplicate:
How can I obfuscate JavaScript?
Hi,
I want to compress a JavaScript code but not just to remove whitespaces also I want to change all variable names to unintelligible names. How can I provide this ?
Thanks in advance,
Possible Duplicate:
How can I obfuscate JavaScript?
Hi,
I want to compress a JavaScript code but not just to remove whitespaces also I want to change all variable names to unintelligible names. How can I provide this ?
Thanks in advance,
Compressing is one thing, and the process of changing variable names to unintelligible names is called obfuscation. For that, you will need to use a javascript obfuscator or yuicompressor which does both.
Similar question(s) on SO.
Either of the following will serve you well:
http://code.google.com/closure/ and http://developer.yahoo.com/yui/compressor/
That is called obfuscation. Check out this question.