Possible to modify DOM during/before initial DOM parsing?
Posted
by AMO
on Stack Overflow
See other posts from Stack Overflow
or by AMO
Published on 2010-04-04T17:08:38Z
Indexed on
2010/04/04
17:13 UTC
Read the original article
Hit count: 437
Is it possible to modify the DOM during or before the initial DOM parsing? Or do I have to wait until the DOM is parsed and built before interacting with it? More specifically, is it possible to hinder a script element in DOM from running using userscripts/content scripts or similar in chrome or firefox?
Tried using eventListeners on DOMNodeInserted before the DOM is parsed, but these are only fired after the DOM is built.
© Stack Overflow or respective owner