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

It can block JavaScript execution on the page for compatibility with existing code, while leaving normal browsing unaffected otherwise.


the alert(), confirm(), and prompt() themselves interrupt normal browsing, so I'm not sure what you mean here. They're synchronous so block the main thread, but they also block other user interactions until they're dismissed, so what would be the benefit in leaving normal browsing unaffected if the user cannot browse anyway?




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

Search: