Hacker News new | past | comments | ask | show | jobs | submit login

"Marking scripts with “defer” and “async” makes an implicit promise to the document parser that you will not use doc.write, which in turn allows it to unblock DOM construction."

Would it be reasonable to ask for an opt-in feature to make document.write usage explicitly prevented, perhaps through an exception?




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

Search: