Hacker News new | ask | show | jobs
by bork1 2617 days ago
One downside is that it basically renders the back button useless. I ran the examples you provided (which were great fun!) and when I tried to get back to hackernews I realized each step in the animation had been added to my browser history
2 comments

you can use replaceState for that and back will work fine
I didn't really look at the code, mostly because I just found the idea interesting as I hadn't considered it. Kind of surprised that it's not using the history api to replace the hash.
He explains in the article that he couldn't do it with History API since it is throttled by the browsers.
Oh nice; good to know that there's an easy way to get around that.
Maybe browsers should go back not to previous URL, but to previous domain.