Search code examples
javascriptobfuscationclient-sideproduction-environment

Javascript obfuscation and extreme situation in production solving


I have a few questions regarding JavaScript obfuscation on client side.

First question: What is the best tool or best three tools which ones you could suggest for this operation?

Second question: How developers should debug such code (in example with firebug) when extreme situation appears in the production if the code is obfuscated?

P.S. - I know that it's bad practice to debug in production, but we had some emergencies and experienced sometimes such situations.

Thanks for any help!


Solution

  • 1) closure compiler with advanced optimizations

    2) First double their pay, then show them jsbeautifier.org