Settings.allowModalDialogs

bool allowModalDialogs() @property

Get allowModalDialogs property.

Returns

Determine whether it's allowed to create and run modal dialogs

from a #WebKitWebView through JavaScript with

<function>window.showModalDialog</function>. If it's set to

false, the associated #WebKitWebView won't be able to create new modal dialogs, so not even the #WebKitWebView::create signal will be emitted.

void allowModalDialogs(bool propval) @property

Set allowModalDialogs property.

Parameters

propvalDetermine whether it's allowed to create and run modal dialogs from a #WebKitWebView through JavaScript with <function>window.showModalDialog</function>. If it's set to false, the associated #WebKitWebView won't be able to create new modal dialogs, so not even the #WebKitWebView::create signal will be emitted.