--- Marco Pivetta <[EMAIL PROTECTED]> wrote: > I forgot to tell you that the javascript should be injected in a webpage in > a greasemonkey-similar way, so the timer shouldn't be active everywhen, but > only when the page is loaded > this is why more timers should be possible on different tabs > the problem is that the timers move from a tab to another, as if the object > "window" changes... > > I've noticed that the same problem comes with every event listener... > onClick, onMouseOver, etc... > Basically the idea is "how do I work in a closed space, a tab, without > limitations when trying to access a mozilla component"? >
It sounds like you should define the timer callback in an XPCOM singleton (service). _______________________________________________ Project_owners mailing list [email protected] https://www.mozdev.org/mailman/listinfo/project_owners
