Jump to content

Browser extension

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Pmffl (talk | contribs) at 22:22, 10 November 2022 (External links: archive doesn't belong here). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

A browser extension is a small software module for customizing a web browser. Browsers typically allow a variety of extensions, including user interface modifications, cookie management, ad blocking, and the custom scripting and styling of web pages.[1]

Plug-ins

Browser plug-ins are a separate type of module. The main difference is that extensions are usually just source code, but plug-ins are always executables (i.e. object code). Plug-ins are no longer supported by the major browsers, but extensions are widely used. The most popular browser, Google Chrome,[2] has over 100,000 extensions available but stopped supporting plug-ins in 2020.[3][4]

History

Internet Explorer was the first major browser to support extensions, with the release of version 4 in 1999.[5] Firefox has supported extensions since its launch in 2004. Opera began supporting extensions in 2009, and both Google Chrome and Safari did so the following year. Microsoft Edge added extension support in 2016.[6]

API conformity

In 2015, a community working group formed under the W3C to create a single standard application programming interface (API) for browser extensions.[7] While that goal is unlikely to be achieved,[8] the majority of browsers already use the same or very similar APIs due to the popularity of Google Chrome.

Chrome was the first browser with an extension API based solely on HTML, CSS, and JavaScript. Beta testing for this capability began in 2009,[9][10] and the following year Google opened the Chrome Web Store. As of June 2012, there were 750 million total installations of extensions and other content hosted on the store.[11] In the same year, Chrome overtook Internet Explorer as the world's most popular browser,[12] and its market share continued to grow, reaching 60% in 2018.[13]

Because of Chrome's success, Microsoft created a very similar extension API for its Edge browser, with the goal of making it easy for Chrome extension developers to port their work to Edge.[14] But after three years Edge still had a disappointingly small market share, so Microsoft rebuilt it as a Chromium-based browser.[15][16] (Chromium is Google's open-source project that serves as the functional core of Chrome and many other browsers.) Now that Edge has the same API as Chrome, extensions can be installed directly from the Chrome Web Store.[17]

With its own market share in decline, Mozilla also decided to conform. In 2015, the organization announced that the long-standing XUL and XPCOM extension capabilities of Firefox would be replaced with a less-permissive API very similar to Chrome's.[18] This change was enacted in 2017.[19][20] Firefox extensions are now largely compatible with their Chrome counterparts.[21]

Until 2020, Apple was the lone major exception to this trend, but with the release of Safari 14 for macOS, the browser added support for extensions conforming to the Chrome API.[22] The following year, extensions were enabled in the iOS version for the first time.[23]

Unwanted behavior

Browser extensions typically have access to sensitive data, such as browsing history, and they have the ability to alter some browser settings, add user interface items, or replace website content.[24][25] As a result, there have been instances of malware, so users need to be cautious about what extensions they install.[26][27][28][29]

There have also been cases of applications installing browser extensions without the user's knowledge, making it hard for the user to uninstall the unwanted extension.[30]

Some Google Chrome extension developers have sold their extensions to third-parties who then incorporated adware.[31][32] In 2014, Google removed two such extensions from the Chrome Web Store after many users complained about unwanted pop-up ads.[33] The following year, Google acknowledged that about five percent of visits to its own websites had been altered by extensions with adware.[34][35][36]

References

  1. ^ "What are extensions?". MDN Web Docs. Retrieved 2019-08-05.
  2. ^ "StatCounter Global Stats". StatCounter. Retrieved 11 November 2020.
  3. ^ Cimpanu, Catalin. "Half of all Google Chrome extensions have fewer than 16 installs". ZDNet. Retrieved 2021-02-19.
  4. ^ "Google Chrome 88 released: RIP Flash Player". Retrieved 29 January 2021.
  5. ^ "Browser Extensions". Retrieved 2020-09-29.
  6. ^ Bright, Peter (18 March 2016). "Edge browser now has extensions in the latest Windows 10 preview". Ars Technica. Condé Nast.
  7. ^ "Browser Extension Community Group Charter — Browser Extension Community Group". browserext.github.io. Retrieved 2018-12-14.
  8. ^ "Re: One question from Florian Rivoal on 2017-07-29 (public-browserext@w3.org from July 2017)". lists.w3.org. Retrieved 2018-12-14.
  9. ^ "Extensions Status: On the Runway, Getting Ready for Take-Off". Chromium Blog. Retrieved 2018-12-14.
  10. ^ "Extensions beta launched, with over 300 extensions!". Chromium Blog. Retrieved 2018-12-14.
  11. ^ Vikas SN (2012-06-29). "The Lowdown: Google I/O 2012 Day 2 – 310M Chrome Users, 425M Gmail & More". MediaNama. Retrieved 2013-06-14.
  12. ^ "Internet Explorer usage to plummet below 50 percent by mid-2012". 3 September 2011. Archived from the original on 20 November 2011. Retrieved 4 September 2011.
  13. ^ Statcounter. "Browser Market Share Worldwide | StatCounter Global Stats". gs.statcounter.com. Retrieved October 20, 2018.
  14. ^ "Porting an extension from Chrome to Microsoft Edge". Microsoft. Retrieved 30 December 2018.
  15. ^ "Microsoft Edge: Making the web better through more open source collaboration". Windows Experience Blog. 2018-12-06. Retrieved 2018-12-14.
  16. ^ 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.
  17. ^ "Add or remove extensions in Microsoft Edge". Microsoft. Retrieved 2020-06-08.
  18. ^ "The Future of Developing Firefox Add-ons". Mozilla Add-ons Blog. Retrieved 2018-12-15.
  19. ^ "Upcoming Changes in Compatibility Features". Mozilla Add-ons Blog. Retrieved 2018-12-15.
  20. ^ "How to enable legacy extensions in Firefox 57 - gHacks Tech News". www.ghacks.net. 12 August 2017. Retrieved 2018-12-14.
  21. ^ "Porting a Google Chrome extension". Mozilla. Retrieved 30 December 2018.
  22. ^ "Safari 14 Release Notes". 2020. Archived from the original on March 23, 2022. Retrieved April 4, 2022.
  23. ^ Ortolani, Parker (2021-09-21). "Here are the best new Safari extensions to download for iOS 15 and iPadOS 15 (Updated)". 9to5Mac. Retrieved 2022-04-05.
  24. ^ "Protect User Privacy". Google Chrome Docs. Retrieved 2018-12-15.
  25. ^ "Add-on Policies". MDN Web Docs. Retrieved 2018-12-15.
  26. ^ "Security firm ICEBRG uncovers 4 malicious Chrome extensions - gHacks Tech News". www.ghacks.net. 16 January 2018. Retrieved 2018-12-15.
  27. ^ "Google's bad track record of malicious Chrome extensions continues - gHacks Tech News". www.ghacks.net. 11 May 2018. Retrieved 2018-12-15.
  28. ^ "Chrome Extension Devs Use Sneaky Landing Pages after Google Bans Inline Installs". BleepingComputer. Retrieved 2018-12-15.
  29. ^ "Google Chrome extensions with 500,000 downloads found to be malicious". Ars Technica. 17 January 2018. Retrieved 2018-12-30.
  30. ^ "PUP Criteria". Malwarebytes. Retrieved 13 February 2015.
  31. ^ "Adware vendors buy Chrome Extensions to send ad- and malware-filled updates". Ars Technica. 17 January 2014. Retrieved 20 January 2014.
  32. ^ Bruce Schneier (21 Jan 2014). "Adware Vendors Buy and Abuse Chrome Extensions".
  33. ^ Winkler, Rolfe (19 January 2014). "Google Removes Two Chrome Extensions Amid Ad Uproar". blogs.wsj.com. Wall Street Journal. Retrieved 17 March 2014.
  34. ^ "Ad Injection at Scale: Assessing Deceptive Advertisement Modifications" (PDF). Archived from the original (PDF) on 2015-06-05.
  35. ^ "Superfish injects ads into 5 percent of all Google page views". PC World. IDG.
  36. ^ "Superfish injects ads in one in 25 Google page views". CIO. IDG. Archived from the original on 2019-12-11. Retrieved 2015-06-16.