Created
November 13, 2018 19:51
-
-
Save borisBelloc/b7e1add776aca9fb631612b7895637f5 to your computer and use it in GitHub Desktop.
Revisions
-
borisBelloc revised this gist
Nov 13, 2018 . 1 changed file with 7 additions and 2 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -5,8 +5,13 @@ <body> <!-- Add this script into your html page; inside the <body> </body> It will refresh/reload page every 3 seconds. Time is in milliseconds (1000 = 1 sec) --> <script> window.onload = function() { -
borisBelloc created this gist
Nov 13, 2018 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,20 @@ <!DOCTYPE html> <head> <title>POC : Auto-reload script</title> </head> <body> <script> window.onload = function() { setInterval(function() { location.reload(); } , 3000); }; </script> </body> </html>