Hi
How do I access html contents of dom elements from the browser process ?
like >> document.getElementById("something").innerHTML ?
magreenblatt wrote:See https://bitbucket.org/chromiumembedded/ ... gration.md
std::string html = Object->SomeCEFfunctionToGetHtml();
process(html);
magreenblatt wrote:You have a few options:
1. Create a bound V8 function in the renderer process. Send an IPC message to the browser process.
2. Implement a custom scheme handler or GetResourceHandler in the browser process. Send an XMLHttpRequest to the browser process.
These can also be combined in various permutations.
silver wrote:Is there any way to implement a synchronous function to "call and get" the html right at one place.
silver wrote:If i implement a custom scheme handler and make an xhr request on the webpage to this custom scheme,
Won't the browser security block such requests ?
Users browsing this forum: No registered users and 36 guests