How to debug obfuscated JavaScript?

后端 未结 4 1339
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-04 10:52

I need to debug obfuscated JavaScript like this example:

__d(\"DataStore\",[],function(a,b,c,d,e,f){var g={},h=1;function i(l){if(typeof l==\'string\'){retur         


        
4条回答
  •  隐瞒了意图╮
    2021-01-04 11:40

    Google Chrome has a "Pretty print" function that allows to reindent the code.

    I don't normally use it, so I don't know since when it exists, but it's present in Chrome 21 dev.

提交回复
热议问题