开发者

How to alert each function name from loaded js file?

I wonder, is there some way to console.log or alert running function name. I mean can I override all the function execution, and append something like console.log(this.arguments.callee.name from Mozilla's fi开发者_高级运维rebug console?


There is also JavaScript Deobfuscator that will log all function calls ("executed scripts"). Logging function names only will be hard however - most functions don't have names (anonymous functions assigned to object / object prototype properties).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜