Browser extensions are the primary type of add-on. In 2017, Mozilla enacted major changes to the application programming interface (API) for extensions in Firefox, replacing the long-standing XUL and XPCOM APIs with the WebExtensions API that is modeled after Google Chrome's API. Thus Firefox extensions are now largely compatible with their Chrome counterparts.
Types of add-onsEdit
Prior to 2017, Firefox supported extensions developed with different APIs: XUL, XPCOM, and Jetpack. Mozilla now refers to these as legacy extensions. Starting with Firefox 57, only the new WebExtensions API is supported.
Early versions of Firefox supported themes that could greatly change the appearance of the browser, but this was scaled back over time. Current themes are limited to changing the background and text color of toolbars. (These lightweight themes were formerly called personas.)
Plug-ins are no longer supported in Firefox. In the past, they were used to handle media types for which the application did not have built-in capability. They were deprecated due to security concerns and improvements in Web APIs. The last one that was officially supported was Adobe Flash Player, which Adobe discontinued in 2020.
Mozilla had no mechanism to restrict the privileges of legacy Firefox extensions. This meant that a legacy extension could read or modify the data used by another extension or any file accessible to the user running Mozilla applications. But the current WebExtensions API imposes many restrictions.
Type of site
|Registration||Free; only needed for developers or for special features|
The Mozilla add-ons website is the official repository for Firefox add-ons. In contrast to mozdev.org which provides free hosting for Mozilla-related projects, the add-ons site is tailored for users. By default, Firefox automatically checks the site for updates to installed add-ons.
In January 2008, Mozilla announced that the site had accumulated a total of 600 million add-on downloads and that over 100 million installed add-ons automatically check the site for updates every day. In July 2012, the total had increased to 3 billion downloads from the site.
- "Official Add-on website". Mozilla. Retrieved 10 February 2019.
- "The Future of Developing Firefox Add-ons". Mozilla Add-ons Blog. Retrieved 2018-12-15.
- "Upcoming Changes in Compatibility Features". Mozilla Add-ons Blog. Retrieved 2018-12-15.
- "How to enable legacy extensions in Firefox 57 - gHacks Tech News". www.ghacks.net. Retrieved 2018-12-14.
- "Porting a Google Chrome extension". Mozilla. Retrieved 30 December 2018.
- Chapter 2: Technologies used in developing extensions - Firefox addons developer guide | MDN Archived 2016-10-05 at the Wayback Machine. Developer.mozilla.org. Retrieved on 2013-07-21.
- "Browser extensions". MDN. Mozilla. Retrieved 10 February 2019.
- "Themes for Firefox".
- "Personas are now Firefox Themes".
- Smedberg, Benjamin (8 October 2015). "NPAPI Plugins in Firefox". Future Releases. Mozilla Foundation.
- Lardinois, Frederic. "Get ready to finally say goodbye to Flash — in 2020". TechCrunch. Retrieved 2017-07-25.
- "End of support for Adobe Flash". Mozilla. Retrieved 9 April 2021.
- "Abusing, Exploiting and Pwning with Firefox Add-ons" (PDF). Archived from the original (PDF) on 2016-03-05. Retrieved 2013-10-23.
- "Security Best Practices". MDN. Mozilla. Retrieved 10 February 2019.
- Fisher, Dennis. "Firefox 40 Begins Warning Users About Unsigned Add-Ons". Threatpost. Retrieved 20 August 2015.
- "Extension Signing". Mozilla.org Wiki. Mozilla. Retrieved 20 August 2015.
- "Updates". Mozilla Developer Network. Retrieved 2017-10-28.
- Scott, Justin (30 January 2008). "600,000,000 Add-on Downloads". Blog of Metrics. Mozilla Foundation.
- "Firefox Add-ons Cross More Than 3 Billion Downloads!". The Mozilla blog. Retrieved 1 November 2013.