Push state to history in Javascript
Description
history.pushState adds an Entry to the Browser History.
Example
<!DOCTYPE HTML>
<html>
<body>
<script type="text/javascript">
window.history.pushState("", "", "?asdf");
</script>
</body>
</html><!--from ww w. ja v a 2s. co m-->