Skip to main content

Firefox upcoming WebExtension APIs revealed

When Mozilla released Firefox 57 back in November 2017, support for the new WebExtensions system for browser extensions was limited.


Lack of support for certain APIs was a big problem as it meant that some extension developers could not port their extensions to the new extension system at all, had to omit features to do so, or wait for APIs to become available to produce a port.


The issue would not have been that problematic if Mozilla would not have made the decision to remove the old add-on system in Firefox 57.


New WebExtension APIs were introduced in newer versions of Firefox and others were improved to include new or missing functionality.


While it is fair to say that the WebExtensions system willl never support the same capabilities that Firefox's classic add-on system supported, it is clear that Mozilla is making progress and that the new extension system has become more powerful since the release of Firefox 57.


firefox webextensions apis


Mozilla revealed a list of WebExtension APIs that it plans to include in coming versions of the Firefox browser.


Starting with the release of Firefox 62, the following WebExtension APIs will be introduced in Firefox:





































API target release
userScripts 63
topSites 62
desktopCapture (TBD) 63
declarativeContent 63
Session management 63 (TBD)
Toolbars 63 (TBD)
Overlays 64 (TBD)

There is also discussion going on about introducing a color filter API. Mozilla did not reveal any other information about the upcoming APIs but the API names hint at what those could provide.


Note that the following is my best guess based on the name and some information provided by Bugzilla and Mozilla Wiki pages.



  • userScripts -- management of userScripts and support for running userscripts in sandboxes and make userscripts more reliable See bug 1437098 and Wiki.

  • topSites -- extend the functionality of the topSites WebExtensions API. See bug 1446915

  • desktopCapture -- implementation of Chrome's chrome.desktopCapture API. See bug 1303919

  • declarativeContent -- to match Chrome's declarative Content API. See bug 1435864.

  • Session Management -- give extensions control over sessions. See bug 833791

  • Toolbars -- unclear, maybe control over existing toolbars and options to move icons and such?

  • Overlays -- secure overlay API to inject without "spamming the website DOM". See bug 1340930.


Some APIs add much requested functionality; session management is probably the number one here as extensions cannot control the functionality directly in Firefox currently. Extensions like Session Boss help themselves by using their own load and save functions.


Closing Words


The new APIs do extend the capabilities of Firefox's extensions system further, and that is a good thing. I'm looking forward to userScripts, session management, toolbars and overlays, as they will improve functionality signifcantly (not sure about toolbars yet).


Now You: What is your take on the additions?


Ghacks needs you. You can find out how to support us here or support the site directly by becoming a Patreon. Thank you for being a Ghacks reader. The post Firefox upcoming WebExtension APIs revealed appeared first on gHacks Technology News.

Original post: https://www.bardtech.com/firefox-upcoming-webextension-apis-revealed/

Comments

Popular posts from this blog

How to change the PIM of a VeraCrypt volume

The developers of VeraCrypt introduced Personal Iterations Multiplier (PIM) functionality in the encryption program in version 1.12 . PIM stands for "Personal Iterations Multiplier". It is a parameter that was introduced in VeraCrypt 1.12 and whose value controls the number of iterations used by the header key derivation function. PIM is used by volumes even if the creator of the volume did not specify a value. It is an optional component that improves security: it adds another step to the authentication process similarly to two-factor authentication. The main difference is that the PIM value is fixed and not generated on the fly when requested. An attacker needs to know the master password and the PIM, if not set to default, to breach the encryption successfully and access the content of the drive or partition. A couple of good reasons exist to change the PIM value: It was leaked or stolen. The default value is used and that is not as secure as using a custom PIM. Yo...

The 5 Best Free IPTV Apps to Watch Live TV on Android

It’s easier than ever to watch on-demand TV shows and movies on your Android device. But what about live TV? Yes, there are services like Sling and PlayStation Vue. However, if you know where to look, you don’t need to subscribe to their expensive plans. You can use free IPTV instead; you just need an IPTV app and an IPTV source. What Is an IPTV App? IPTV apps are a bit like Kodi; they are empty shells that can’t stream any content without some user input. You have the responsibility for adding channels, playlists, and other sources. Typically, you cannot use the apps to watch Netflix, Hulu, or direct content from other third-party providers. Here, we’re not interested in the best on-demand streaming apps or places to watch TV online. We are only looking at the IPTV apps themselves. Specifically, we want to know what the best IPTV apps on Android are. 1. Lazy IPTV Our first pick is Lazy IPTV. It supports M3U playlists in open-view, ZIP, and GZ formats. The app can also read pl...

Opera 57 launches with news improvements and Netflix recommendations

Opera Software released Opera 57 to the Stable channel today. The new version of the browser comes with personalized news improvements and a new Netflix recommendations feature. Opera users who run a stable version of the browser on their desktop computers may load opera://update to run a check for updates. The browser should pick up the new version automatically so that it can be downloaded and installed over the existing version. Users who prefer to download an installer can do so on the Opera website . Check the advanced options to make sure that the "default browser" option is selected or not selected depending on your personal preferences. Opera 57 If you are a fan of personalized news, Opera 57 adds something that you probably will be happy about. Opera improved the recommendation engine that powers news on the browser's New Tab page. The New Tab page of the browser lists News below the search field, Speed Dial links and the bookmarks bar -- if displayed. Just...