[Greasemonkey] Any "wait" function in Javascript or in
greasemonkey?
Anthony Lieuallen
arantius at gmail.com
Mon Aug 28 11:32:54 EDT 2006
Vikas Pandey wrote:
> I can include a empty loop to kill time, but is there any "wait" sort of
> function in Javascript
There is no "sleep" like in some other languages. JavaScript has
setTimeout which will asynchronously call another function after a given
(microsecond) delay.
http://developer.mozilla.org/en/docs/DOM:window.setTimeout
More information about the Greasemonkey
mailing list