Skip to content

Instantly share code, notes, and snippets.

@TyDraniu
Created March 28, 2017 17:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save TyDraniu/d654e2ef99a7e01e8e85b23f872b354e to your computer and use it in GitHub Desktop.
Save TyDraniu/d654e2ef99a7e01e8e85b23f872b354e to your computer and use it in GitHub Desktop.
Checks the multiprocess compatibility of Firefox's addons
AddonManager.getAddonsByTypes(["extension"], function (aAddons) {
var list = [];
aAddons.forEach(function (aAddon) {
if (aAddon.hidden == false) {
list.push(aAddon.name + ", E10 compatible: " +
(aAddon.multiprocessCompatible ? "Yes" : "No"));
}
});
alert(list.join("\n"));
});