Last active
September 27, 2021 15:12
-
-
Save jpluimers/3ca49daa7e15adede93181bc83698650 to your computer and use it in GitHub Desktop.
Bookmarklet to refresh a page every 5 minutes by embedding it into an `iframe`; from https://archive.is/2021.09.27-150150/https://superuser.com/questions/436227/automatically-reload-page-in-chrome-without-plugin/1334018%231334018
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
javascript:document.getElementsByTagName("body")[0].innerHTML = "<iframe id=\"testFrame\" src=\""+window.location.toString()+"\" style=\"position: absolute; top:0; left:0; right:0; bottom:0; width:100%; height:100%;\"><\/iframe>";reloadTimer = setInterval(function(){ document.getElementById("testFrame").src=document.getElementById("testFrame").src },5*60*1000) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment