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.
If you find these projects useful please consider becoming a sponsor with Patreon, GitHub or Liberapay.
Is there any way to reproduce this functionality in CEF4Delphi? i.e. listen to those events generated by a web page. Web page is third party so I don't control the way how messages are generated.
You can inject your custom JavaScript code that overrides event listeners :
https://stackoverflow.com/questions/50370156/overriding-the-event-listener-in-javascript
Then use that listener to call a function you defined in a "JavaScript extension".
Open any of these demos for more details about JS extensions : JSExtension or JSRTTIExtension.