[Greasemonkey] forcing refresh

Julien Couvreur julien.couvreur at gmail.com
Sat Dec 10 14:06:08 EST 2005


I like that way better (no eval), but for some reason, I've had some
trouble with:
setTimeout(document.location.reload, 60000);

The behavior was weird (worked sometimes and sometimes not).

Anyways, I'll update the script to use the anonymous function.

Cheers,
Julien

On 12/9/05, Saravanan <saravanannkl at gmail.com> wrote:
> >> http://blog.monstuff.com/archives/images/AutoReload.user.js
> Due to the recent changes in GM the above script wont work. try this
>
> setTimeout(function() { document.location.reload(); } , 60000);
>
> Thanks
> Saravanan
> _______________________________________________
> Greasemonkey mailing list
> Greasemonkey at mozdev.org
> http://mozdev.org/mailman/listinfo/greasemonkey
>


More information about the Greasemonkey mailing list