What are the 'chrome:' and 'resource:' protocols in Firefox?

5

3

From reading the error console, I've noticed that Firefox has several internal protocols, such as chrome: and resource:. What are they used for, and why are they necessary? Are they part of the NPAPI (which I am not familiar with)?

This question is independent of operating system or Firefox version.

bwDraco

Posted 2011-12-05T03:48:14.317

Reputation: 41 701

possible duplicate of Why does Firefox use the "chrome://" protocol / schema in URLs?

– Ƭᴇcʜιᴇ007 – 2014-11-16T17:30:57.967

Answers

6

Firefox's addons include extensions, themes, language packs, and plugins.

The protocols you asked about are Firefox's internal protocols for extensions.

  1. The Chrome URL

  2. Chrome registration -- resource

NPAPI is the API for plugins.

MDN: Plugins

MDN: Gecko Plugin API Reference

user89272

Posted 2011-12-05T03:48:14.317

Reputation: