EngineeringProductivity/HowTo/SignExtensions: Difference between revisions

Jump to navigation Jump to search
No edit summary
Line 48: Line 48:
* They can't be installed via the profile (you'll need to be able to run chrome JS)
* They can't be installed via the profile (you'll need to be able to run chrome JS)


If those restrictions don't bother you, you can use the `[https://dxr.mozilla.org/mozilla-central/rev/d848a5628d801a460a7244cbcdea22d328d8b310/toolkit/mozapps/extensions/AddonManager.jsm#2236AddonManager.installTemporaryAddon()]` API to install them. You'll need a way to run chrome privileged JS to install it. Alternatively, there's also a [http://marionette-client.readthedocs.org/en/latest/reference.html#addons marionette API] to install it. For example:
If those restrictions don't bother you, you can use the [https://dxr.mozilla.org/mozilla-central/rev/d848a5628d801a460a7244cbcdea22d328d8b310/toolkit/mozapps/extensions/AddonManager.jsm#2236AddonManager.installTemporaryAddon()] API to install them. You'll need a way to run chrome privileged JS to install it. Alternatively, there's also a [http://marionette-client.readthedocs.org/en/latest/reference.html#addons marionette API] to install it. For example:


     from marionette_driver.addons import Addons
     from marionette_driver.addons import Addons
Confirmed users
656

edits

Navigation menu