As the documentation for history.js is hard to find, seemingly non existent except for the demo's on github. Well I need to remove the last added stat. eg:
I have an Url which is called site/Random which calls a php for getting an random entry. Of course if I push the button for calling the url a pushstate will be added with this url...
So in the document itself I do another pushstate for the real url of the entry eg. /site/nobody. So I need to remove the last added pushstate.
Any Ideas?