Skip to content

Commit

Permalink
Auto Refresh page every 15 min
Browse files Browse the repository at this point in the history
  • Loading branch information
sushant-hiray committed Dec 15, 2013
1 parent 90b61f5 commit 9fe4cdf
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -73,5 +73,15 @@ <h1><small>Top Stories of Hacker News in last 24 hours</small></h1>
<script type="text/javascript" src="./js/bootstrap.min.js"></script>
<script type="text/javascript" src="./js/mustache.js"></script>
<script type="text/javascript" src="./js/update.js"></script>
<script language="javascript">
function refresh()
{
location.reload(true)
}
var minutes = 15;
window.setInterval("refresh()",60000*minutes);
</script>


</body>
</html>

0 comments on commit 9fe4cdf

Please sign in to comment.