[Greasemonkey] Weirdness with window.setTimeout and Gmail

Anthony Lieuallen arantius at gmail.com
Wed Feb 1 09:45:41 EST 2006


On 2/1/2006 7:49 AM, Tom Tobin wrote:
> Anyone have any idea what's going on here?  Is there any trick to
> getting such loops to "behave" with Gmail that I'm missing?

I had a lot of issues with the earlier versions of Gmail Delete Button 
that relied on setInterval .. in short, don't use setInterval (or an 
infinite setTimeout) loop on Gmail.  You'll cause major problems.

(Users seemed to notice getting locked out of their accounts.  I could 
never reproduce the problem, but it seems that the timeouts / meta 
reloads / whatever Gmail already does periodically would, eventually, 
collide and go crazy.)


More information about the Greasemonkey mailing list