Chromebug

From FirebugWiki

Revision as of 19:11, 25 February 2010 by Johnjbarton (Talk | contribs)
Jump to: navigation, search

Contents

Introduction

Chromebug is the Firebug source adapted to work on the entire 'chrome' level of XUL. It looks like Firebug in a detached window with some extra stuff to deal with multiple windows. Chromebug is 100% XUL/HTML/CSS/Javascript and works only on XUL based applications.

Installation

Note that at least during this development period it is important that your version of Firebug be synchronized with your Chromebug version.

Running Chromebug

To start Chromebug then firefox use:

 firefox.exe -chromebug

To start Chromebug then thunderbird use:

 thunderbird.exe -chromebug

etc.

Basics

The Console, HTML, CSS, Script, DOM tab row shows the data for the nsIDOMWindow selected by the "context" menu. So for example if you set the context to browser.xul, the HTML you see will be the HTML for firefox's window.

Most of the time you can just use the context menu to set the tabs to the content you want to explore.

Tools

Gijs Kruitbosch's Chrome list

This tool seems to be documented separately at this web site: http://www.gijsk.com/mozilla/chromelist/

Or you can use the inspect feature to select the context.

Personal tools