[Project_owners] setInterval and tabs
ocramius at gmail.com
Wed Nov 21 02:31:55 PST 2007
Thank you, I'll take a look around ^^
Using mozilla components I should be able to isolate my script to a single
2007/11/21, Eric H. Jung <eric.jung at yahoo.com>:
> --- Marco Pivetta <ocramius at gmail.com> wrote:
> > a greasemonkey-similar way, so the timer shouldn't be active everywhen,
> > 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
> > "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
> Project_owners mailing list
> Project_owners at mozdev.org
Standard Ogame Project - http://stogame.lepihost.net
Making Ogame a better place...
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Project_owners