JsBloat is an addon for Firefox designed to determine what fraction of the jQuery library a web page uses. t heavily leverages JSCoverage, an open-source code coverage tool for JavaScript.
JsBloat works by intercepting requests to the jQuery library loaded from ajax.googleapis.com. Instead of returning the requested code, JsBloat injects an instrumented version of jQuery that can be processed by JSCoverage.
If JsBloat intercepts a request on the page, it inserts a Show JSCoverage results button in the upper-left-hand corner of the page. Clicking the button will overlay an iframe with the JSCoverage UI.
Requirements:
· Firefox 3.5 - 4.0.*