How to unpack the contents of a JavaScript file?
问题 You know how those packed js files look like, right? eval(function(p,a,c,k,e,d){ ... } ('obfuscated-string'.split('|'),0,{})) It just so happens to be that i have to tweak some large legacy code that looks like that and I want to find a way to turn this into a more readable version. If that's not possible, can i at least get rid of the eval? 回答1: You can with online unpackers: try one of these, find one that suits you: Dean Edwards Unpacker JSUnpack 回答2: JS Beautifier will both reformat and