3 ms·
Never ever use document.write. If you execute document.write after the document has loaded it will overwrite the entirety of your document.
by austin-cheney 4y ago
Never ever use document.write. If you execute document.write after the document has loaded it will overwrite the entirety of your document.
- Grom_PE 4y agoThat is precisely how I use document.write() in order to replace the current page with a better one from a userscript.