CEFSharp OnJSDialog

Closed Posted 2 years ago Paid on delivery
Closed

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

Engineering Software Architecture Development JavaScript Web Development

Project ID: #31884545

About the project

1 proposal Remote project Active 2 years ago

1 freelancer is bidding on average $25 for this job

jaquedeveloper

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

$25 USD / hour
(10 Reviews)
5.1