Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

One way is by using JS to change the address bar location using window.location or history.pushState(), instead of using history.relpaceState() which doesn't create an extra history entry each time.


I would vote for a president that ran a campaign _only_ based on quirky punishments for those who use history.pushState()

They should have to open a door repeatedly, only to have someone push them back when they try to walk through for a few weeks, for example!


Great idea. I would vote for that too. Like Sisyphus ...

Edit: spelling.


Got it, thanks. I think I've been experiencing similar stuff on some sites for the last few days, but my attention was more on the page topic, also may have thought that it was an issue with my mouse (that I had to click a few times to go to previous page). So it's good to know.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: