Hi,
I need community's help on finding whats the best way to inject jQuery/Custom JS Script in CefSharp.
Currently I am injecting my script on webView.LoadCompleted += webView_LoadCompleted . I think its not appropriate place to inject jQUery and custom script as in case of some Ajax based site this event is called multiple times and I want to insert my script at the end when complete site is loaded.
This is my script
var script = document.createElement('script');
script.src = '
http://code.jquery.com/jquery-latest.min.js';
document.body.appendChild(script);
jQuery.noConflict();
Is there any event in CefSharp which would let user know when page is complete loaded and ready for any JS manipulation ?
Thanks,
Tony