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
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 the completion of major challenges in this and other areas.
Visit my profile for more information and to know some of these projects that I had the opportunity to work on.
Thanks for listening.