WebKit2.Settings.prototype.get_allow_modal_dialogs

function get_allow_modal_dialogs(): Boolean {
    // Gjs wrapper for webkit_settings_get_allow_modal_dialogs()
}
  

Get the WebKit2.Settings.allow_modal_dialogs property.

Returns

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