Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Back-button hijacking, really? I thought only media mogul websites did that...


No, it's a 2001ish web page. Absent canvas and most dom manipulation, larger changes are delegated to serverside. A periodic `window.location.replace` gets a new page capable of handling the next n seconds.

Fwiw, present-day spec[1] says with location.replace "the current page will not be saved in session History". A puzzle.

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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: