Working with chrome URLs

by 4 contributors:
この記事はまだ日本語に翻訳されていません。MDN の翻訳はボランティアによって行われています。是非 MDN に登録し、私たちの力になって下さい。

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

ドキュメントのタグと貢献者

Contributors to this page: Sheppy, Vn0K4h, Shaver, Mook
最終更新者: Sheppy,