Hacker News new | ask | show | jobs
by SaladFork 3230 days ago
The page is using Location.replace[0] to update the URL and replaces the current history entry without affecting back/forward behavior on pretty much any browser.

The one downside is that the URL may no longer point to the comment you were originally linked to.

[0] https://developer.mozilla.org/en-US/docs/Web/API/Location/re...