How to beautify Javascript and CSS in Firefox / Firebug?

Lance Pollard picture Lance Pollard · Jul 9, 2010 · Viewed 20.1k times · Source

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 :).

Answer

benmmurphy picture benmmurphy · Oct 30, 2010

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.

https://addons.mozilla.org/en-US/firefox/addon/247565/