I've never used a mutationobserver but it's been suggested as a valid solution at the official CEF3 forum.
https://magpcss.org/ceforum/viewtopic.p ... ver#p36263
https://magpcss.org/ceforum/viewtopic.p ... ver#p30494
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.
MutationObserver
- salvadordf
- Posts: 4564
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
- salvadordf
- Posts: 4564
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: MutationObserver
I just added a new context menu option in the JSRTTIExtension demo to test a MutationObserver.
Please, download CEF4Delphi again and run the JSRTTIExtension demo.
After google.com is loaded, right-click on the web page and select the "Add mutation observer" option.
That mutationobserver is triggered when the search box in google.com changes its value.
Whatever you type in the search box is sent to Delphi and you'll see it in the status bar.
Read the code comments for more details.
Please, download CEF4Delphi again and run the JSRTTIExtension demo.
After google.com is loaded, right-click on the web page and select the "Add mutation observer" option.
That mutationobserver is triggered when the search box in google.com changes its value.
Whatever you type in the search box is sent to Delphi and you'll see it in the status bar.
Read the code comments for more details.