Hacker News new | past | comments | ask | show | jobs | submit login

Isn't that what the `History.replaceState()` method achieves?

https://developer.mozilla.org/en-US/docs/Web/API/History/rep...




Nope, it will result in a history entry added to your history (even if nothing is added to the immediate backwards forwards history).




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

Search: