[Greasemonkey] GM-TNG - several bugs fixed

Jeremy Dunck jdunck at gmail.com
Wed Jul 27 10:03:06 EDT 2005


On 7/27/05, Anthony Lieuallen <arantius at gmail.com> wrote:
> As for it being bad code, yes technically it is.  I started out
> polluting the global name space because earlier versions relied on a
> setTimeout and I knew no other way to call the function besides
> putting it in the global namespace.  I'll have to work to make this
> deer park compatible I imagine.

function foo() {
...
}

window.setTimeout(function(){ foo()}, 1000) 

?


More information about the Greasemonkey mailing list