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

that's confirm(). alert() cant block a page close in progress (by design, afaik)

I'm actually not a huge fan of the design of confirm() either, but at least that has a valid, modern use



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

Search: