Posts: 1,372
Name: Abel Mohler
Location: Asheville, North Carolina USA
|
You can't hide it, but you can compress it, which obfuscates the code. Here are a few easy to use compressors:
YUI Compressor - requires Java - very good compressor
Packer - creates the most confusing, and smallest code, but scripts don't run as fast as YUI - this can be used online though. Select 'Base62 encode' for maximum effect.
The Dojo Compressor I've never used this one, but it's on the top-list. It also requires Java.
JSMIN By Douglas Crockford, this one has a very simple algorythm, but it is still good. Meant to be used in combination with JSLint.
__________________
<!--if a signature drops in the forest, and no one is there to see it, does it make a link?-->
|