Posts: 3,987
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.
__________________
I build web things. I work for the startup Please login or register to view this content. Registration is FREE
.
|