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

This could have been handled better:

* Position and clip the alert box within bounds of the frame, so that it doesn't display anything that the frame couldn't do itself.

* Don't make framed alerts steal focus, so that it also loses special behavior.

* Ideally, provide some replacement like `await alert()` so that authors can migrate with minimal changes.



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

Search: