![]() We’ve added a notification in the identity box to indicate that the page what extension loaded it. If you load a page from your extension, you get a long moz-extension://…. To do this, specify _execute_browser_action, _execute_page_action or _execute_sidebar_action in the command field for creating a context menu. ![]() Context menu clicks can now open browser actions, page actions and sidebars. The onClickData event in the context menu also gets the frameID. We’ve also provided this to options V2 and the sidebar APIs.Ĭontext menus now work in browserAction popups. In order to limit the amount of CSS that a developer has to write and provide some degree of uniformity, there is a browser_style option for the browserAction API. The runtime.onInstalled API will now activate if an add-on is installed temporarily, and the event will now include the previousVersion of the extension. The runtime.onMessageExternal API has been implemented, which allows WebExtensions add-ons to communicate with other WebExtensions add-ons. If you are following along with project Photon, you’ll note that the sidebar works great with the new Photon designs. The sidebar API now re-opens automatically if you reload the add-on using about:debugging or web-ext. Requests from the top frame now have the correct frameId, and more error conditions on requests are picked up by the onErrorOccurred event. Websockets can be processed through webRequest using the ws:// and wss:// protocols. ![]() Requests can be cancelled before cookie processing occurs. Empty types and URLs in webRequest filters are now rejected. The webRequest API has seen many improvements. ![]() Documentation for the APIs discussed here can be found on MDN. Because the development period for this latest release was about twice as long as normal, we have many more updates. Firefox 55 landed in Beta this week, so it’s time for another update on WebExtensions. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |