Skip to content

Commit

Permalink
Add website that auto-refreshes every 3 seconds (#192)
Browse files Browse the repository at this point in the history
* Add website that auto-refreshes every 3 seconds

* Update features/auto-refresh.html

Co-authored-by: Konrad Dzwinel <konrad@duckduckgo.com>

---------

Co-authored-by: Konrad Dzwinel <konrad@duckduckgo.com>
  • Loading branch information
bwaresiak and kdzwinel authored Apr 10, 2024
1 parent 42e6e9a commit 937b1a2
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
21 changes: 21 additions & 0 deletions features/auto-refresh.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<!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.</h1>
<p>You can use this to validate that the URL bar keeps focus between reloads.</p>

<script>
setTimeout(function () {
location.reload();
}, 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 937b1a2

Please sign in to comment.