Open main menu

CDOT Wiki β

Changes

PWCore

142 bytes added, 16:37, 24 April 2008
Registration
===Registration===
 
To register for PW notification with the Observer service you must create a class with a register function that contains the following code:
var observerService = Components.classes["@mozilla.org/observer-service;1"]
.getService(Components.interfaces.nsIObserverService);
observerService.addObserver(this, "experimental-notify-plugin-call", false);
1
edit