News for hackers. Stuff that matters.
Re:Why Not Document.write()? by austin-cheney on Sunday April 02, 2023 @04:17AM (#35408337)
Never ever use document.write. If you execute document.write after the document has loaded it will overwrite the entirety of your document.
Re:Why Not Document.write()? by Grom_PE on Sunday April 02, 2023 @05:35AM (#35408758)
That is precisely how I use document.write() in order to replace the current page with a better one with a userscript.