2

As far as I remember correct name for browser plugins we are using today are actually called "Web Extension". Before every browser had its own APIs, then Chrome and Firefox agreed, and now Safari (v14 with macOS 11 in 2021) see

However I cannot find exact standard reference and examples that would work for sure in all 3 major browsers.

Maybe we can dig deeper into many related links

But is there tool/library that would track compatibility and make sure that


Please confirm what terms to use, point to specification and tools that would enforce compatibility.

Paul Verest
  • 60,022
  • 51
  • 208
  • 332
  • Every browser still has its own API, which will be changed further in ManifestV3. Firefox and Safari implemented their own API that mostly resembles Chrome's but there's no collaboration between vendors. See also https://github.com/w3c/webextensions/ – wOxxOm Jul 29 '21 at 08:02
  • Yes, I. have looked already. Then should be some tools to take care of compatibility checks https://github.com/w3c/webextensions/issues/49 The spec is just starting https://github.com/w3c/webextensions/pull/48 – Paul Verest Jul 29 '21 at 08:11
  • The only tool I know is Mozilla's web-ext but it's for Firefox. You can try finding other tools yourself since as you know it's off-topic on StackOverflow. If there are no such tool maybe you can write one in collaboration with people from that repo. – wOxxOm Jul 29 '21 at 08:14

1 Answers1

1

As of July 30th 2021

Mozilla MDN has tiny note Browser API differences https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API#browser_api_differences
and compatibility summary Browser support for JavaScript APIs https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Browser_support_for_JavaScript_APIs,
manifest.json Browser compatibility https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json#browser_compatibility

Spec by W3C WebExtensions Community Group (WECG) is just 1st draft as Pull Request https://github.com/w3c/webextensions

Paul Verest
  • 60,022
  • 51
  • 208
  • 332