Created
November 16, 2020 17:31
-
-
Save eeejay/87d5c92e6b88b6bf4acb81aee5bc8650 to your computer and use it in GitHub Desktop.
Sideload addon in Firefox for Android
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// In main process JS console: | |
const { AddonManager } = ChromeUtils.import("resource://gre/modules/AddonManager.jsm") | |
AddonManager.getInstallForURL(XPI_URL).then(r => r.install()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment