Page 1 of 1

Handle js code on execute script

Posted: Thu Sep 05, 2024 5:25 am
by subin
I need to call javascript code of a tchromium component in a runtime. This is the requirement to access the DOM. I need to intercept the result of the JS. I am not using design time component. Please help how to resolve this, thank you

Re: Handle js code on execute script

Posted: Thu Sep 05, 2024 7:32 am
by salvadordf
Hi,

See if the DOMVisitor demo or any of the demos in the demos/Delphi_VCL/JavaScript directory have what you need.
Read the code comments in those demos.