Reverse Uglified Javascript Code

I am looking for a way (preferably an online site) to reverse Uglify some javascript. Website: http://jsbeautifier.org/ is great for miniature code, but it doesn't do a great job for ugly things.

+6
source share
4 answers
+2
source

Depends on what options you used when you dodge the code. If you just remove line breaks, then Chrome dev tools can do a great job explaining syringes. But if you change the code, then you cannot get the exact previous code. (when lengthening, var logngvariable = a + b; var c = a + b; there is no way for the tool to determine the previous name logngvariable)

On the other hand, if you want non-aggregated code, you can not guess it in the first place ... :)

+2
source

There is this amazing online tool, JSNice , that does a great job of finding names for confusing variables.

We even do obfuscated JavaScript code for reading. We will rename variables and parameters to names that we learn from thousands of open source projects. In addition, often we can also guess or infer type annotations.

0
source

Although this is not an online site, IMO is best to install UglifyJS2 as a command line tool.

It is as simple as npm install uglify-js -g and after that you can enter uglifyjs [input files] [options] into your command line client

npm

Hope this helps.

Download

-2
source

Source: https://habr.com/ru/post/952381/


All Articles