Why this tool can help you so much to optimise and protect your Javascript code of your website:
- Minify Compress Minimize : remove automatically all your comments of your code and delete every useless spaces (tabulations, returns, etc.) to minimize the size of your Javascript code.
- Encrypt your Javascript code by choosing :
1. simple encryption : it will encode every variables and functions of your Javascript code by incomprehensible words for humans, by using different techniques of rewriting (that all browser still easily understand).
2. extended encryption : it consists in using the simple encryption previously explained and add a final layer of treatment, which will convert every character to Hexadecimal code in Javascript. (Note that this functionality will probably increase the final size of your file)
Before trying to optimize your Javascript with this tool, do never forget to test your Javascript file and check if it is working properly.
After that, always keep in mind to save backups of your Javascript source file (cleaned) before launching any optimization.
And finally, test again your optimized script if there is no bugs.