Settings.getAllowModalDialogs

bool getAllowModalDialogs()

Get the #WebKitSettings:allow-modal-dialogs property.

Returns

true if it's allowed to create and run modal dialogs or false otherwise.