- Code: Select all
protected override bool OnJSDialog(CefBrowser browser, string originUrl, string acceptLang, CefJSDialogType dialogType, string message_text, string default_prompt_text, CefJSDialogCallback callback, out bool suppress_message)
{
suppress_message = false;
_core.OnJSDialog(originUrl, acceptLang, dialogType, message_text, default_prompt_text, callback);
return true;
}
This code work, show message box, press ok on message box and the page freezing