Hacker News new | ask | show | jobs
by SlashmanX 3443 days ago
I'd guess they'd execute this function in onbeforeunload (or the equivalent) so the functionality is called when you go to leave the page rather than when you load a fresh one.