Working with chrome URLs

As a development aid, one can find out what a chrome URL resolves to by using the view-source: protocol and checking the document title. For example, if you put

view-source:chrome://browser/skin/browser.css

into the URL bar in Firefox, you will see the title of the window change to

jar:file:///F:/Program%20Files/Mozilla%20Firefox/chrome/classic.jar!/skin/classic/browser/browser.css

To resolve chrome URLs programatically at run-time, use the nsIChromeRegistry interface.

About URI scheme compatibility

The view-source: protocol can be used with the following chrome URLs in the about URI scheme in Mozilla:

  • about:blocked
  • about:buildconfig
  • about:cache
  • about:cache?device=memory
  • about:cache?device=disk
  • about:cache?device=offline
  • about:cache-entry
  • about:certerror
  • about:config
  • about:crashes
  • about:credits
  • about:feeds
  • about:licence
  • about:logo
  • about:memory
  • about:mozilla
  • about:neterror
  • about:plugins
  • about:privatebrowsing
  • about:rights
  • about:robots
  • about:sessionrestore
  • about:support

Document Tags and Contributors

 Contributors to this page: teoli, Sheppy, Vn0K4h, Shaver, Mook
 Last updated by: Sheppy,