简体   繁体   中英

Javascript Obfuscator to run locally which each compile

I want a free command line application or Java application that I can run on one of my JavaScript files and obfuscate it. I prefer to run it when I compile my website in visual studio locally, but it can be a software that runs locally and I will run it manually.

I want a strong obfuscator that even when reversed engineer, it will be very difficult to understand the code. My project was built with ASP.net and C# if that matters for the answer. Thanks!

I would recommend google closure compiler: http://closure-compiler.appspot.com/home to minify your JavaScript. For maximum "obfuscation", write your code so you can utilize the "advanced" optimization. You could also add all your scripts and compile them into one big chunk of minified code.

This does not make it impossible to reverse-engineer, not even difficult for the professional programmer, but it will most likely be enough trouble for most people to "steal" it, unless it's a goldmine you are hiding.

Now, why you would want to "obfuscate" your code, and what it might be worth in your case is another debate...

Here are some interesting takes on the subject: Is using an obfuscator enough to secure my JavaScript code?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM