Hacker News new | ask | show | jobs
by ruipgil 3680 days ago
That kind of control is in the hands of the webapp.

For instance if I close this tab, where I'm typing the comment, there will be no prompt. Whereas facebook will prompt me if truly want to leave the page.