Created
May 18, 2022 14:41
-
-
Save jpluimers/573b09b140ecea1e8797f036e9f52e88 to your computer and use it in GitHub Desktop.
Embed html page in iframe then autorefresh that iframe every 5 minutes (1000 milliseconds * 60 seconds per minute * 5 minutes = 30000 milliseconds)
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 },300000) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment