WingNews logo WingNews
top | new | best | ask | show | jobs
top | item 23140681

(no title)

fiskfiskfisk | 5 years ago

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

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

discuss

order

emilfihlman|5 years ago

Nope, it will result in a history entry added to your history (even if nothing is added to the immediate backwards forwards history).
powered by hn/api // news.ycombinator.com