The JavaScript for a web site is accessible through the Firebug extension for Firefox. When viewing a web page, open Firebug in the Firefox browser by clicking “Tools” – “Firebug” – “Open Firebug”. (Note: The Firebug Extension must be installed first.) Next, click on the “Script” tab on the Firebug menu bar. Above the menu bar, a dropdown will appear. Click on the dropdown and a listing of the JavaScript files included in the page will appear. Select the file you want to view and the JavaScript for that file will appear in the Firebug code viewing pane. This is illustrated in the example below.
Related articles:
Debugging JavaScript with the Firebug Extension for Firefox
