Use this AutoRefresh bookmark in Google Chrome to help with web apps

Here’s a tip for Google Chrome users who use web apps that require manual refreshes to stay up-to-date. This includes, but isn’t limited to, apps like Instapaper and TeuxDeux. The tip is a tip from a blog called ThansCorner (which, in turn, got the code from a Chrome forum). All you need to do is set up a bookmark within Chrome to and point it to the following URL:

javascript:
timeout=prompt(“Set timeout [s]“);
current=location.href;
if(timeout>0)
setTimeout(‘reload()’,1000*timeout);
else
location.replace(current);
function reload(){
setTimeout(‘reload()’,1000*timeout);
fr4me='<frameset cols=\’*\’>\n<frame src=\”+current+’\’/>';
fr4me+='</frameset>';
with(document){write(fr4me);void(close())};
}

All you have to do after that is click on the bookmark, specify the auto-refresh time in seconds, and then host a party (or something).

[Note: This is a Chrome-specific tip -- Firefox users have so many plugins that they can auto-refresh in their sleep.]

Continue reading:

TAGS:




  • http://www.thanscorner.info Nathaniel

    Glad to see this is coming in handy for people!

    • http://isource.com/ Thomas

      Quite handy!