diff options
-rw-r--r-- | qutebrowser/browser/shared.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/qutebrowser/browser/shared.py b/qutebrowser/browser/shared.py index 36f85e486..c1a169ac2 100644 --- a/qutebrowser/browser/shared.py +++ b/qutebrowser/browser/shared.py @@ -202,6 +202,8 @@ def ignore_certificate_error( <tt>content.tls.certificate_errors</tt> to <tt>ask-block-thirdparty</tt> to always block invalid resource loads.</i></p> {% endif %} + + Do you want to ignore these errors and continue loading the page <b>insecurely</b>? """.strip()) msg = err_template.render( request_url=request_url, @@ -211,7 +213,7 @@ def ignore_certificate_error( ) urlstr = request_url.toString(QUrl.RemovePassword | QUrl.FullyEncoded) - ignore = message.ask(title="Certificate error - continue?", text=msg, + ignore = message.ask(title="Certificate error", text=msg, mode=usertypes.PromptMode.yesno, default=False, abort_on=abort_on, url=urlstr) if ignore is None: |