Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
JimDabell
· 3y ago · 0 comments
Breaking the back button isn’t necessary for this; all they need to do is call `history.replaceState()` instead of `history.pushState()`.
Comments
[–]
marttilaine
3y ago
Thank you all for the feedback on this! I agree. It didn't seem like such an issue during development, but that was a misjudgement. Removed that functionality now. Should not add to history anymore (shareable URLs should still work).