i have a new question

in

MyComponent.prototype = {
...
MyVar:'hello',
....
}

how can access it from my extension
i want to write/read it as a global variable


On Nov 16, 2007 9:37 PM, Nickolay Ponomarev <[EMAIL PROTECTED]> wrote:

> On Nov 16, 2007 1:37 AM, Michael Vincent van Rantwijk, MultiZilla
> <[EMAIL PROTECTED]> wrote:
> > Nickolay Ponomarev wrote:
> > > On Nov 15, 2007 6:34 PM, Michael Vincent van Rantwijk, MultiZilla
> > > <[EMAIL PROTECTED]> wrote:
> > >>> The listener added via window.addEventListener('load' ...) will not
> > >>> run more than once, no? It handles the chrome window's load.
> > >> Normally yes, but anyone can trigger a load event on a chrome window,
> > >> for whatever reason, and that is when things go wrong here.
> > >>
> > > That evil person can call the event handler directly as well.
> >
> > This is about people getting confused because of all different window
> > types, nothing else.
> >
>
> Didn't understand this. Do you mean the additional 'load' events may
> be triggered by poorly written/tested extensions?
>
> > > This is
> > > not an issue, extensions are supposed to behave in a sensible way,
> > > otherwise the browser (and the user) is screwed.
> >
> > Not an issue?  Why do you think people _have_ to check for additional
> > load events in the first place?
> >
> My point is that they don't have to, so it's kinda weird to ask me why
> they _have_ to do it.
>
> Nickolay
> _______________________________________________
> Project_owners mailing list
> [email protected]
> https://www.mozdev.org/mailman/listinfo/project_owners
>
_______________________________________________
Project_owners mailing list
[email protected]
https://www.mozdev.org/mailman/listinfo/project_owners

Reply via email to