Is there a way to beautify javascript and css in Firebug? I'd like to be able to view formatted js instead of the compressed version :).
A:
CSS is already beautified in Firebug, as clearly seen by comparing the CSS tab or CSS pane with the raw source.
JavaScript, alas, is not. The best you can do, for now, is to paste the code into something like http://jsbeautifier.org/ .
However, if you write a Firebug extension that does this, you will have all of our gratitude. ;-)
Brock Adams
2010-07-10 02:17:17
A:
there is now a plugin that intercepts javascript downloads and deminifies it at that point. unfortunately, the way it hooks into firefox means that it applies to all javascript downloads and just not specific ones and the javascript files have to be served with an appropriate mime type.
drscroogemcduck
2010-10-30 11:10:16