ScriptDialog.promptGetDefaultText

string promptGetDefaultText()

Get the default text of a #WebKitScriptDialog of type [webkit.types.ScriptDialogType.Prompt].

It's an error to use this method with a #WebKitScriptDialog that is not of type [webkit.types.ScriptDialogType.Prompt].

Returns

the default text of dialog