Created
March 13, 2015 02:32
-
-
Save jkburges/17f6028059dfb65c3cf9 to your computer and use it in GitHub Desktop.
Very simple example which updates the URL every second.
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 characters
<!DOCTYPE html> | |
<html> | |
<script type="text/javascript"> | |
var count = 0; | |
setInterval(function() { | |
count++; | |
window.history.pushState(null, '', count); | |
}, 2000); | |
</script> | |
<body>some content</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment