X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/d0f4a5b09bf729918c9fe50ec1b8a8a4955214d8..53ec429247f45ca1fc008c16a3f2395d2e473f23:/qutebrowser/config.py diff --git a/qutebrowser/config.py b/qutebrowser/config.py index becd0cc..8107453 100644 --- a/qutebrowser/config.py +++ b/qutebrowser/config.py @@ -579,7 +579,7 @@ c.content.cookies.accept = 'no-3rdparty' ## Try to pre-fetch DNS entries to speed up browsing. ## Type: Bool -# c.content.dns_prefetch = True +c.content.dns_prefetch = True ## Expand each subframe to its contents. This will flatten all the frames ## to become one scrollable page. @@ -597,7 +597,7 @@ c.content.cookies.accept = 'no-3rdparty' ## Value to send in the `Accept-Language` header. Note that the value ## read from JavaScript is always the global value. ## Type: String -c.content.headers.accept_language = 'en-US,en,de,fr' +c.content.headers.accept_language = 'en-UK;q=1.0, en;q=0.9, de;q=0.7, fr;q=0.7, *;q=0.5' ## Custom headers for qutebrowser HTTP requests. ## Type: Dict @@ -800,6 +800,10 @@ c.content.headers.accept_language = 'en-US,en,de,fr' ## - 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. @@ -1248,7 +1252,7 @@ c.hints.scatter = False ## - always: Always show the scrollbar. ## - never: Never show the scrollbar. ## - when-searching: Show the scrollbar when searching for text in the webpage. With the QtWebKit backend, this is equal to `never`. -c.scrolling.bar = 'never' +c.scrolling.bar = 'when-searching' ## Enable smooth scrolling for web pages. Note smooth scrolling does not ## work with the `:scroll-px` command.