Created
January 2, 2010 01:02
-
-
Save eculver/267327 to your computer and use it in GitHub Desktop.
Auto-refresh bookmarklet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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(){ | |
setTimeout('reload()',1000*timeout); | |
fr4me='<frameset cols=\'*\'>\n<frame src=\''+current+'\'/>'; | |
fr4me+='</frameset>'; | |
with(document){write(fr4me);void(close())}; | |
} |
Is there something that can be added to this code so it auto scrolls after each refresh? The refresh works great but I need to scroll the page down automatically as well to see all of the new updates.
Still works, still useful :)
wow, this is 10 years old.
using this to refresh my unit test coverage report while TDDing :)
searched "auto refresh bookmarklet". not disapointed !
This is perfect
Amazing !!!
thanks :)
nice
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Works great.