CEFSharp OnJSDialog
$15-25 USD / hour
Good afternoon!
I am working on a solution using Visual Studio 2017 in VB using CefSharp for a Chrome webbrowser and I need to suppress or stop any alerts or actions posted back to the page with JavaScript.
I am 99% sure I need to reference the OnJSDisalog class, but I don't know how to do it in VB.
C# Example:
public bool OnJSDialog(IWebBrowser browserControl, IBrowser browser, string originUrl, CefJsDialogType dialogType, string messageText, string defaultPromptText, IJsDialogCallback callback, ref bool suppressMessage)
{
suppressMessage = true;
return false;
}
I cannot translate this to VB and I'm not sure how to call it from the browser.
Can you help?
Thank you,
Nathan
Project ID: #31884545
About the project
1 freelancer is bidding on average $25 for this job
Hello, I analyzed your project and noticed that I have the necessary training and skills for an effective development, of high quality and in the shortest possible time. I have ten years of programming experience and t More