Firefox WebExtension importing Services
The MDN top level page for addons used to give an overview over the different extension types (since FF57 only webextensions are supported). Components.utils.import this is for restartless/XUL (legacy) extensions. const { Cu } = require(“chrome”); this is for SDK extensions. Neither will work in webextensions. Unlike the other extension types webextensions are restrictive, they … Read more