Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.

Visit the DOM before JavaScript is run?

Post Reply
User avatar
salvadordf
Posts: 4056
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Visit the DOM before JavaScript is run?

Post 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
Post Reply