4

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
  • 45,747
  • 43
  • 165
  • 205
  • possible duplicate of [Why does Firefox use the "chrome://" protocol / schema in URLs?](http://superuser.com/questions/517160/why-does-firefox-use-the-chrome-protocol-schema-in-urls) – Ƭᴇcʜιᴇ007 Nov 16 '14 at 17:30

1 Answers1

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

Kevin Panko
  • 7,346
  • 22
  • 44
  • 53