Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>There is no user interface to do this so far (Firebug 1.9.2), but you can modify the source code... Which mean, however, that you'll need to do this each time Firebug is updated.</p> <p>First, quit Firefox and find the .xpi package for Firebug.</p> <blockquote> <p>On my XP machine, it's located in "C:\Documents and Settings\ <strong><em>userName</em></strong> \Application Data\Mozilla\Firefox\Profiles\ <strong><em>profileName</em></strong> \extensions"</p> </blockquote> <p>Open the file "<strong>firebug@software.joehewitt.com.xpi</strong>" (it's actually a renamed .zip file) and extract the file "<strong>content\firebug\lib\url.js</strong>".</p> <p>In this file, find the "<strong>Url.isSystemURL</strong>" function and add a line of code to return true if the <strong>url</strong> parameter contains the name of the CSS file you want to hide (I've used "reset.css" in the example below) :</p> <pre><code>Url.isSystemURL = function(url) { if (!url) return true; if (url.length == 0) return true; /*** Hide specific CSS file ***/ if (url.indexOf("reset.css") != -1) return true; /******************************/ if (url[0] == "h") return false; if (url.substr(0, 9) == "resource:") return true; else if (url.substr(0, 16) == "chrome://firebug") ... </code></pre> <p>You can also use a regular expression :</p> <pre><code> if (url.match(/RegExp/)) return true; </code></pre> <p>When you're done editing, save the file and replace the one in the .xpi with your edited version.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload