Hi Marshall,
I need to be able to inspect and modify the data as received from the Internet but prior to it being consumed by the browser. This would be the CEF equivalent of IE's Pluggable MIME Filters. I've been looking around the API but so far I've been unable to figure it out. I'm not posting in the Feature Request forum, because I'm hoping there might be an easy way to do this that I'm overlooking.
So far, I've tried the scheme handler approach, and I also tried grabbing the source HTML in CefHandler::HandleLoadEnd(), modifying it and LoadString()-ing it. Both approaches get me in a mess fast and neither has produced reliable results so far.
I suspect CEF needs to be extended to allow for this (probably somewhere around RequestProxy), but my understanding of CEF's internals and WebKit is not yet sufficiently in-depth. What are your thoughts on this?
Thank you!