是否有插件允许我自动取消网站上包含的Javascript? [英] Is there a plugin that allows me to automatically unminify the Javascript included on a site?

查看:106
本文介绍了是否有插件允许我自动取消网站上包含的Javascript?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有插件,插件,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'.


  1. 右击检查元素

  2. 转到脚本选项卡

  3. 点击右下角的花括号。

这篇关于是否有插件允许我自动取消网站上包含的Javascript?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆