A good on-line JS obsfucator for minifying purposes only [updated]
I’ve searched the web for a Javascipt obsfucator for my specific needs — actually a minifier and obsfucator that will minify a code (pretty like BrainJar do) and obsfucate all variables, function names etc. to 1-2 character length (shortest possible). I know that this could be less secure, but due to purpose (internal project), size of the code, not security, is a key here. I also need it as one-click, on-line ready tool.
Since my searches failed, I’ve asked a question on Stack Overflow, but it was closed as off-topic.
Following article is a summary of answers already given on Stack Overflow (before question was closed) plus my some other thoughts and findings.
Here is a list of tools, I have found and tested, along with an explanation, why each of them doesn’t seems to be enough for me:
- BrainJar’s Chrunchinator does a very good (in my opinion) minifying job, but without any code obsfucation,
Minify only, no symbol obfuscationcheckbox not checked) does nothing else, than just minification, sometimes even worse than BrainJar’s,
I’ve heard about many good solutions (YUI from Yahoo, Clousure from Google), but they’re all downloadable libraries, no on-line, one-click solution.
After browsing all answers, that were given in response to my question, I have finally selected Dean Edwards’ JS Packer is the tool of my choice. It is a very simple on-line tool, yet it makes the code almost unreadable.
Another answer told about downloadable tool, which is out of scope of my question.