URIScheme

  • Revision slug: URIScheme
  • Revision title: URIScheme
  • Revision id: 164560
  • Created:
  • Creator: Yanmorin
  • Is current revision? No
  • Comment

Revision Content

List of Mozilla supported URI schemes

List of URI Schemes

  • http:// by default, port 80
  • https:// by default, port 443 (SSL)
  • ftp:// by default, port 21
  • file:// : file:///etc/hosts on Unix/Linux, file:///c:/some/file.txt on Windows.
  • moz-icon://.ext?size=32  : you can replace ext by your some file extension like js, css, xul, xml, etc. and the size number by 1 to 127
  • mailto:emailaddress@domain.com
  • about:
  • chrome://
  • ...

Preferences

See gecko.handlerService.schemes.*

Scripting Interface

See nsIProtocolHandler to create a new protocol/scheme.

about:

  • about:
  • about:config
  • about:mozilla
  • about:plugins
  • ...

Revision Source

<p>List of Mozilla supported URI schemes
</p>
<h3 name="List_of_URI_Schemes"> List of URI Schemes </h3>
<ul><li> http:// by default, port 80
</li><li> https:// by default, port 443 (SSL)
</li><li> ftp:// by default, port 21
</li><li> file:// : file:///etc/hosts on Unix/Linux,   file:///c:/some/file.txt on Windows.
</li><li> moz-icon://.ext?size=32  : you can replace ext by your some file extension like js, css, xul, xml, etc. and the size number by 1 to 127
</li><li> mailto:emailaddress@domain.com
</li><li> about:
</li><li> chrome://
</li><li> ...
</li></ul>
<h3 name="Preferences"> Preferences </h3>
<p>See gecko.handlerService.schemes.*
</p>
<h3 name="Scripting_Interface"> Scripting Interface </h3>
<p>See <a href="en/NsIProtocolHandler">nsIProtocolHandler</a> to create a new protocol/scheme.
</p>
<h3 name="about:"> about: </h3>
<ul><li> about:
</li><li> about:config
</li><li> about:mozilla
</li><li> about:plugins
</li><li> ...
</li></ul>
Revert to this revision