Skip to content

Instantly share code, notes, and snippets.

@eeejay
Created November 16, 2020 17:31
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eeejay/87d5c92e6b88b6bf4acb81aee5bc8650 to your computer and use it in GitHub Desktop.
Save eeejay/87d5c92e6b88b6bf4acb81aee5bc8650 to your computer and use it in GitHub Desktop.
Sideload addon in Firefox for Android
// 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