X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/939f2ac68e2728d0f3050cf87e172ebb81287c0e..53ec429247f45ca1fc008c16a3f2395d2e473f23:/qutebrowser/config.py?ds=sidebyside diff --git a/qutebrowser/config.py b/qutebrowser/config.py index 5b20d08..8107453 100644 --- a/qutebrowser/config.py +++ b/qutebrowser/config.py @@ -556,7 +556,7 @@ c.confirm_quit = ['downloads'] ## - no-3rdparty: Accept cookies from the same origin only. This is known to break some sites, such as GMail. ## - no-unknown-3rdparty: Accept cookies from the same origin only, unless a cookie is already set for the domain. On QtWebEngine, this is the same as no-3rdparty. ## - never: Don't accept cookies at all. -# c.content.cookies.accept = 'no-3rdparty' +c.content.cookies.accept = 'no-3rdparty' ## Store cookies. Note this option needs a restart with QtWebEngine on Qt ## < 5.9. @@ -579,7 +579,7 @@ c.confirm_quit = ['downloads'] ## 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.confirm_quit = ['downloads'] ## 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.