onBeforePopup
abstract fun onBeforePopup(browser: CefBrowser, frame: CefFrame, target_url: String, target_frame_name: String): Boolean
Called on the IO thread before a new popup window is created.
Return
True to cancel creation of the popup window or false to proceed.
Parameters
browser
The source of the popup request.
frame
The source of the popup request. Instance only valid within the scope of this method.
target_url
May be empty if none is specified with the request.
target_frame_name
May be empty if none is specified with the request.