3 ms·
Do any serious websites use document.write anymore? It's a bad idea, it's been a bad idea for a long time, and you really should be using proper dom nodes. Just
by qwertyuiop924 10y ago
Do any serious websites use document.write anymore? It's a bad idea, it's been a bad idea for a long time, and you really should be using proper dom nodes. Just grab JQuery, or do it yourself.
Apparently advertisers are still using it. So that's another benefit to disabling it in this case!
For once, google, I'm on your side.
Now if only you didn't support EME...
- kuschku 10y agoMany Google JS things use it, for example the Maps API.
- tootie 10y agoA lot of hosted products that require extreme backward compatibility like Adobe Analytics still do it.
- frankydp 10y agohttp://www.homedepot.com/ http://www.homedepot.com/ for one example. The pain of the parser blocking can degrade even good network connections when used in this quantity.
- qwertyuiop924 10y agoWow. Really? Jeez.
- dangrossman 10y ago7.6% of all page loads inject scripts with document.write() according to Google. 1 in 13 pages.