[Project_owners] Global listeer

Nickolay Ponomarev asqueella at gmail.com
Wed Nov 14 23:04:46 PST 2007


On Nov 15, 2007 12:39 AM, joe ertaba <belaviyo at gmail.com> wrote:
> hi Nickolay
>
> i have registered an observer , now my problem is how to find out :
>  am i already register this observer or not when user open a new window,
>
> in my extension observer registered when user open new window
>
>
You give too few details. How about you tell what you're trying to do,
then show the relevant snippets of code?

Nickolay

>
>
> On Nov 14, 2007 1:13 PM, Nickolay Ponomarev <asqueella at gmail.com> wrote:
> > On Nov 13, 2007 10:59 PM, joe ertaba < belaviyo at gmail.com> wrote:
> > > i need to add a listener to my extension, the listener must be global,
> > > it must support all windows together? is it possible to do this with
> > > one listener
> > >
> > What kind of listener? Some 'listeners' (such as global observers
> > registered via nsIObserverService) are not window-dependent and can be
> > registered globally from an XPCOM component.
> >
> > Nickolay
>
> > _______________________________________________
> > Project_owners mailing list
> > Project_owners at mozdev.mozdev.org
> > https://www.mozdev.org/mailman/listinfo/project_owners
> >
>
>
> _______________________________________________
> Project_owners mailing list
> Project_owners at mozdev.org
> https://www.mozdev.org/mailman/listinfo/project_owners
>
>


More information about the Project_owners mailing list