Created
July 14, 2016 08:36
-
-
Save jimmy89Li/b4f3a64edea1c99f49bd324f59d5661c to your computer and use it in GitHub Desktop.
Auto reload the page every 30s
This file contains hidden or 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
<!-- Auto reload the page every 30s --> | |
function pageRefresh(refreshTime) { | |
setTimeout("location.reload(true);",refreshTime); | |
} | |
window.onload = pageRefresh(30000); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment