Y
Hacker News
new
|
ask
|
show
|
jobs
by
ziml77
1748 days ago
Why does it flood my navigation history? I couldn't use my back button to return to here after playing around a bit.
1 comments
arthur2e5
1748 days ago
Apparently it saves what you do to the address bar. Which is good on its own, but messes up history when you use href.assign() instead of .replace().
https://developer.mozilla.org/en-US/docs/Web/API/Location/re...
link
https://developer.mozilla.org/en-US/docs/Web/API/Location/re...