// Now let's go back to our original history entry which has a state object that we've stored a reference to already.
// This will fire our popstate event handler above.
- history.back();
+ window.onload = function() {
+ history.back();
+ };
</script>
</body>
</html>