6 ms·
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 browse
by SaladFork 9y 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/replace https://developer.mozilla.org/en-US/docs/Web/API/Location/re...