Hacker News new | ask | show | jobs
by fiskfiskfisk 2232 days ago
Isn't that what the `History.replaceState()` method achieves?

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

1 comments

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