MDN wants to learn about developers like you: https://qsurvey.mozilla.com/s3/MDN-dev-survey

nsObserverService Redirect 1

« XPCOM API Reference

Summary

The XPCOM Observer Service.

Class ID
D07F5195-E3D1-11d2-8ACD-00105A1B8860
ContractID
@mozilla.org/observer-service;1

Supported Interfaces

nsIObserverService

Remarks

This component is a singleton and should therefore be accessed via the XPCOM Service Manager. It should be used from the main thread only.

Document Tags and Contributors

 Last updated by: jswisher,