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

How -> history API: https://developer.mozilla.org/en-US/docs/Web/API/History_API

It was designed to accommodate highly JS-driven sites/apps, where user rarely, if ever, clicks on regular <a href="">, but notion of "going back" is still a thing.

Of course, this API also opened floodgates to all sorts of scammers.



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

Search: