Jump to content

WebExtensions

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Pmffl (talk | contribs) at 21:09, 29 December 2018 (Security: now its good). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

WebExtensions are a collection of web browser application programming interfaces (APIs) for implementing browser extensions. There is not a single API that all browsers conform to, but as of 2018, most of the major browsers have very similar APIs.[1]

Strictly-speaking, "WebExtensions" is the official name for Firefox extensions, but Mozilla also uses the term to refer to similar APIs from other browsers.[1] Google Chrome was the first browser to have such an API. The success of Chrome, which has a large number of extensions, caused other browsers to adopt this approach. The other major browsers with similar APIs are Firefox and Microsoft Edge.

History

Google Chrome was the first browser with an extension API based solely on HTML, CSS, and JavaScript. Beta testing for Chrome's extension capability began in 2009,[2][3] and the following year Google opened its Chrome Web Store. As of June 2012, there were 750 million total installs of extensions and other content hosted on the store.[4]

Microsoft debuted its Edge browser in 2014. A key difference from Internet Explorer was implementing an extension API similar to Chrome's. In December 2018, Microsoft announced that Edge is being rebuilt as a Chromium-based browser.[5][6] One of the reasons is to have the same extension API as Chrome and thus enable users to install extensions from the Chrome Web Store.[6][7]

In 2015, Mozilla announced that the long-standing XUL and XPCOM extension capabilities of Firefox would be replaced with a less-permissive API simliar to Chrome's.[8] This change was enacted in 2017 with the release of Firefox 57.[9][10]

Attempts to create a single standard API have been unsuccessful. In 2015, the World Wide Web Consortium formed a working group to facilitate this,[11] but it is unlikely to happen.[12]

Security

WebExtensions can optionally access sensitive user data, such as browsing history.[13][14] There have been many instances of malware, so users need to be cautious about what they install.[15][16][17]

References

  1. ^ a b Official Mozilla documentation
  2. ^ "Extensions Status: On the Runway, Getting Ready for Take-Off". Chromium Blog. Retrieved 2018-12-14.
  3. ^ "Extensions beta launched, with over 300 extensions!". Chromium Blog. Retrieved 2018-12-14.
  4. ^ Vikas SN (2012-06-29). "The Lowdown: Google I/O 2012 Day 2 – 310M Chrome Users, 425M Gmail & More". MediaNama. Retrieved 2013-06-14.
  5. ^ "Microsoft Edge: Making the web better through more open source collaboration". Windows Experience Blog. 2018-12-06. Retrieved 2018-12-14.
  6. ^ a b Keizer, Gregg (2018-12-08). "With move to rebuild Edge atop Google's Chromium, Microsoft raises white flag in browser war". Computerworld. Retrieved 2018-12-14.
  7. ^ "r/Windows10 - Microsoft Edge: Making the web better through more open source collaboration". reddit. Retrieved 2018-12-15.
  8. ^ "The Future of Developing Firefox Add-ons". Mozilla Add-ons Blog. Retrieved 2018-12-15.
  9. ^ "Upcoming Changes in Compatibility Features". Mozilla Add-ons Blog. Retrieved 2018-12-15.
  10. ^ "How to enable legacy extensions in Firefox 57 - gHacks Tech News". www.ghacks.net. Retrieved 2018-12-14.
  11. ^ "Browser Extension Community Group Charter — Browser Extension Community Group". browserext.github.io. Retrieved 2018-12-14.
  12. ^ "Re: One question from Florian Rivoal on 2017-07-29 (public-browserext@w3.org from July 2017)". lists.w3.org. Retrieved 2018-12-14.
  13. ^ "Add-on Policies". MDN Web Docs. Retrieved 2018-12-15.
  14. ^ "Don't mess with my browser!". Google Chrome Blog. Retrieved 2018-12-15.
  15. ^ "Security firm ICEBRG uncovers 4 malicious Chrome extensions - gHacks Tech News". www.ghacks.net. Retrieved 2018-12-15.
  16. ^ "Google's bad track record of malicious Chrome extensions continues - gHacks Tech News". www.ghacks.net. Retrieved 2018-12-15.
  17. ^ "Chrome Extension Devs Use Sneaky Landing Pages after Google Bans Inline Installs". BleepingComputer. Retrieved 2018-12-15.