ExtJS with Squash Javascript Obfuscator
I came across this javascript obfuscator called Squash , I want to use it in my ExtJS project to obfuscate javascript files. I tried this and the result is completely obfuscated codes. But it seems to me that I should be confusing the ExtJS library because I got warnings that they cannot find functions like Ext.onReady()
, Ext.form.FormPanel()
etc.
I just want to ask if any of you have successfully used Squash + ExtJS on the project and how did you manage to get it to work.
I would like to suggest another javascript obfuscation tool: http://jscrambler.com .
The tool is capable of detecting and replacing ids with private access so you can / should only obfuscate the extjs application.
Typical rtfm: annotation @Public
in a function setDocumentTitle
prevents obfuscation of the function name so that it can be accessed from unbuffered code.
try http://dean.edwards.name/packer/ with Base62 encode validation Compressing variables it worked for me in my extjs app, due to the need to obfuscate ExtJS library too