是否有插件允许我自动取消网站上包含的Javascript? [英] Is there a plugin that allows me to automatically unminify the Javascript included on a site?
问题描述
是否有插件,插件,Greasemonkey脚本或类似的东西(最糟糕的是,一个易于使用的代理?)自动取消网站上包含的Javascript文件?
Is there a plugin, add-on, Greasemonkey script or something similar (at worst, an easy to use proxy?) that automatically unminifies the Javascript files included on a site?
我知道例如 jsbeautifier.org 但在外部执行此操作不允许我在未分析的代码中设置断点,例如。
I know about e.g. jsbeautifier.org but doing this externally doesn't allow me to set breakpoints in the unminified code, for example.
我的典型用例:
- 分析和学习复杂的网络前端。
- 调试与现有代码交互的Greasemonkey脚本。
我主要对解决方案感兴趣这适用于Firebug,但是如果有适用于Chrome或Opera的开发工具的东西,我也想听听它。
I'm primarily interested in a solution that works with Firebug, but if there's something for the dev tools of Chrome or Opera, I'd like to hear about it as well.
推荐答案
在chrome 13+中,有漂亮的印刷品。
In chrome 13+, there is 'pretty print'.
- 右击检查元素
- 转到脚本选项卡
- 点击右下角的花括号。
这篇关于是否有插件允许我自动取消网站上包含的Javascript?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!