Last active
December 19, 2015 19:29
-
-
Save debuggerpk/6006580 to your computer and use it in GitHub Desktop.
localte firefox extension
This file contains hidden or 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
| Components.utils.import("resource://gre/modules/AddonManager.jsm", null).AddonManager.getAllAddons(function (addons) { | |
| alert(addons.filter(function (addon) { | |
| return addon.type == "extension" | |
| }).map(function (addon) { | |
| return addon.name + ": " + addon.getResourceURI().spec | |
| }).join("\n")) | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment