Skip to content

Instantly share code, notes, and snippets.

@m-asani
m-asani / Auto-refresh bookmarklet
Created August 2, 2022 20:05 — forked from eculver/Auto-refresh bookmarklet
Auto-refresh bookmarklet
// origin: http://www.google.com/support/forum/p/Chrome/thread?tid=1a37ccbdde5902fd&hl=en
javascript:
timeout=prompt("Set timeout [s]");
current=location.href;
if(timeout>0)
setTimeout('reload()',1000*timeout);
else
location.replace(current);
function reload(){