Y
Hacker News
new
|
ask
|
show
|
jobs
by
nexle
410 days ago
slightly off topic but it should be a crime for a website hijacking the back button
2 comments
pif
410 days ago
It should be a crime for web browser letting the back button be hijacked in the first place!
link
kazinator
410 days ago
It shuld be a crime for web browsers to download and execute code as a matter of loading a page.
link
arp242
410 days ago
Nothing is "hijacked"; it just sets the hash to allow permalinks. It should probably actually load the state when pressing back (or replace the current entry instead of adding a new one). But that's just a bug and not malice, as some seem to assume.
link
hoten
409 days ago
It actually is augmenting the history so "hijack" is correct.
Weird that back isn't restoring the state. Just stays the same for me.
link