Created
January 3, 2017 18:44
-
-
Save rhelmer/f3db0702974ef47bdb63ecb691ab0d30 to your computer and use it in GitHub Desktop.
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
| function startup(data) { | |
| Services.obs.addObserver(ExtensionManager, "EM-loaded", false); | |
| } | |
| function shutdown(reason) { | |
| Services.obs.removeObserver(ExtensionManager, "EM-loaded", false); | |
| } | |
| let ExtensionManager = { | |
| observe: function(aSubject, aTopic, aData) { | |
| // aSubject will be the window that about:addons is opened in | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment