Don't use Document.Write() for Script Tags

I saw this article linked on Hacker News about reasons not to use document.write() to insert script tags. The primary one being that Chrome is not going to support it. What should you do? Ok, great. Now you know about it, what are you going to do? The code change is pretty straight forward. As a user points out in the comments, you can just use DOM manipulation rather than using write. »


If you are like me, and write everything in Markdown, I found a great cross-platform Markdown editor Typora