interface WebExtensionDelegate (source)
Notifies applications or other components of engine events related to web extensions e.g. an extension was installed, or an extension wants to open a new tab.
Invoked when a web extension in private browsing allowed is set.
Invoked when a web extension defines a browser action. To listen for session-specific overrides of Actions and other action-specific events (e.g. opening a popup) see WebExtension.registerActionHandler.
Invoked when a web extension was disabled successfully.
Invoked when a web extension was enabled successfully.
Invoked when the list of installed extensions has been updated in the engine (the web extension runtime). This happens as a result of debugging tools (e.g web-ext) installing temporary extensions. It does not happen in the regular flow of installing / uninstalling extensions by the user.
Invoked during installation of a WebExtension to confirm the required permissions.
Invoked when a web extension was installed successfully.
Invoked when a web extension attempts to open a new tab via browser.tabs.create. Note that browser.tabs.update and browser.tabs.remove can only be observed using session-specific handlers, see WebExtension.registerTabHandler.
Invoked when a web extension defines a page action. To listen for session-specific overrides of Actions and other action-specific events (e.g. opening a popup) see WebExtension.registerActionHandler.
Invoked when a browser or page action wants to toggle a popup view.
Invoked when a web extension was uninstalled successfully.
Invoked when a web extension has changed its permissions while trying to update to a new version. This requires user interaction as the updated extension will not be installed, until the user grants the new permissions.
Loads a file from the resources folder and returns its content as a string object.