provide an example using the history api

This commit is contained in:
Andy McKay
2016-06-06 16:57:30 -07:00
parent 911053e825
commit e6bbf3d41b
6 changed files with 123 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="history.css"/>
</head>
<body>
<p>History for this domain (limited to 5 results):</p>
<p id="history"></p>
<p><a href="#" id="clear">Clear history for this domain</a></p>
<script src="history.js"></script>
</body>
</html>