On 17 Jul 2010, at 2:43 pm, Guillermo Ferrero Ferri wrote:
> I would also like the same auto refresh functionality when using
> iphone.facebook.com with fluid. I have tried several scripts from
> userscripts.org but they do not seem to work. Any help?
>
The following just does a simple page reload after 30 seconds.
If it doesn't work, let me know and I'll try to help you get it working.
Nige
function ResetTimer()
{
if( typeof timer != "undefined" )
{
clearTimeout( timer );
}
timer = setTimeout("location.reload( true );",30000);
}
(function () {
if (window.fluid) {
document.onkeypress = ResetTimer();
ResetTimer();
}
})();
--
You received this message because you are subscribed to the Google Groups
"fluidapp" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/fluidapp?hl=en.