Page 1 of 1

Re: Visit the DOM before JavaScript is run?

Posted: Fri Mar 02, 2018 4:44 pm
by salvadordf
Hi,

Use JavaScript to modify the DOM after the document is fully loaded.
When your text replacement function is finished then notify Delphi and enable your editor.

Take a look at the JSExtension demo inside the "Javascript" directory to know how to send messages between Javascript and Delphi. Read the code comments in uJSExtension.pas