From: Samir Benmendil Date: Sun, 5 Jan 2020 14:42:10 +0000 (+0000) Subject: qutebrowser: disable protocol handler for mail: and ical: X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/14f9b4c71fcd14bc380daa30ec43434e8ec5da56?ds=inline qutebrowser: disable protocol handler for mail: and ical: --- diff --git a/qutebrowser/config.py b/qutebrowser/config.py index 6c66de1..d81777e 100644 --- a/qutebrowser/config.py +++ b/qutebrowser/config.py @@ -800,6 +800,10 @@ c.content.headers.accept_language = 'en-UK;q=1.0, en;q=0.9, de;q=0.7, fr;q=0.7, ## - false ## - ask # c.content.register_protocol_handler = 'ask' +with config.pattern('*://mail.google.com/*') as p: + p.content.register_protocol_handler = False +with config.pattern('*://calendar.google.com/*') as p: + p.content.register_protocol_handler = False ## Enable quirks (such as faked user agent headers) needed to get ## specific sites to work properly.