Skip to content

Commit

Permalink
Add website that auto-refreshes every 3 seconds
Browse files Browse the repository at this point in the history
  • Loading branch information
bwaresiak committed Apr 5, 2024
1 parent fee785a commit d250a7d
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
20 changes: 20 additions & 0 deletions features/auto-refresh.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Auto Refresh</title>
</head>
<body>
<p><a href="../index.html">[Home]</a></p>

<h1>Website that refreshes every 3 seconds. You can use this to validate URL bar focus.</h1>

<script>
setTimeout(function () {
location.reload()

Check failure on line 15 in features/auto-refresh.html

View workflow job for this annotation

GitHub Actions / build (16)

Missing semicolon
}, 3000);
</script>

</body>
</html>
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ <h2>Browser Features</h2>
<li><a href="./features/client-hints/">Client Hints</a></li>
<li><a href="./features/harmful-apis/">Harmful APIs</a></li>
<li><a href="./features/element-hiding/">Element Hiding</a></li>
<li><a href="./features/auto-refresh.html">Auto Refresh</a></li>
</ul>

<h2>Security</h2>
Expand Down

0 comments on commit d250a7d

Please sign in to comment.