Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
rplnt
· 12y ago · 0 comments
Wouldn't it be better to use anchors? It is the same page after all... now you'll end up with thousands of duplicit entries in your history.
Comments
[–]
_frog
12y ago
Not quite, the replaceState() function, as its name would imply, replaces a history item instead of creating a new one.
[–]
rplnt
OP
12y ago
Oh, I missed that it does that.