Add DOMModifier interface and call implementations after parsing a document
The DOMModifier interface shall allow modifications to the content of the DOM after parsing the document and before rendering it. The engine shall provide methods to add a DOM modifier to a list of modifiers for a specific document type.
DOM modifiers can for example simplify the structure and content of an HTML document or filter out specific elements to block advertisements or other unwanted document parts. They may also insert or modify the DOM to change URLs (HTTP to HTTPS).
Deleting a branch is permanent. It CANNOT be undone. Continue?