]> git.rmz.io Git - dotfiles.git/blobdiff - qutebrowser/config.py
mutt: unset signature to silence warning at startup
[dotfiles.git] / qutebrowser / config.py
index a3bf1223191fb9cab7dbf64033040216208627fc..995140464349cbfd24ccbad8ae93a05166a9f239 100644 (file)
@@ -5,7 +5,7 @@
 
 ## This is here so configs done via the GUI are still loaded.
 ## Remove it to not load settings done via the GUI.
-config.load_autoconfig()
+config.load_autoconfig()
 
 ## Aliases for commands. The keys of the given dictionary are the
 ## aliases, while the values are the commands they map to.
@@ -575,18 +575,6 @@ c.confirm_quit = ['downloads']
 ##   - never: Don't accept cookies at all.
 c.content.cookies.accept = 'never'
 
-config.set('content.cookies.accept', 'no-3rdparty', '*://*.amazon.co.uk/*')
-config.set('content.cookies.accept', 'no-3rdparty', '*://*.amazon.de/*')
-config.set('content.cookies.accept', 'no-3rdparty', '*://*.duckduckgo.com/*')
-config.set('content.cookies.accept', 'no-3rdparty', '*://*.freedesktop.org/*')
-config.set('content.cookies.accept', 'no-3rdparty', '*://*.github.com/*')
-config.set('content.cookies.accept', 'no-3rdparty', '*://*.gitlab.com/*')
-config.set('content.cookies.accept', 'no-3rdparty', '*://*.google.com/*')
-config.set('content.cookies.accept', 'no-3rdparty', '*://*.humblebundle.com/*')
-config.set('content.cookies.accept', 'no-3rdparty', '*://*.mailfence.com/*')
-config.set('content.cookies.accept', 'no-3rdparty', '*://*.reddit.com/*')
-config.set('content.cookies.accept', 'no-3rdparty', '*://*.steampowered.com/*')
-
 ## Store cookies. Note this option needs a restart with QtWebEngine on Qt
 ## < 5.9.
 ## Type: Bool
@@ -631,7 +619,7 @@ c.content.dns_prefetch = True
 ##   - true
 ##   - false
 ##   - ask
-# c.content.geolocation = 'ask'
+c.content.geolocation = False
 
 ## Value to send in the `Accept-Language` header. Note that the value
 ## read from JavaScript is always the global value.
@@ -1856,10 +1844,10 @@ config.bind('m', 'spawn mpv {url}')
 # config.bind('sk', 'set-cmd-text -s :bind')
 # config.bind('sl', 'set-cmd-text -s :set -t')
 # config.bind('ss', 'set-cmd-text -s :set')
-config.bind('tCH', 'spawn --userscript config-cycle-tld -p    content.cookies.accept no-3rdparty never;; reload')
 config.bind('tCh', 'spawn --userscript config-cycle-tld -p    content.cookies.accept no-3rdparty never;; reload')
-config.bind('tcH', 'spawn --userscript config-cycle-tld -p -t content.cookies.accept no-3rdparty never;; reload')
 config.bind('tch', 'spawn --userscript config-cycle-tld -p -t content.cookies.accept no-3rdparty never;; reload')
+config.bind('tGh', 'spawn --userscript config-cycle-tld -p    content.geolocation ;; reload')
+config.bind('tgh', 'spawn --userscript config-cycle-tld -p -t content.geolocation ;; reload')
 # config.bind('tIH', 'config-cycle -p -u *://*.{url:host}/* content.images ;; reload')
 # config.bind('tIh', 'config-cycle -p -u *://{url:host}/* content.images ;; reload')
 # config.bind('tIu', 'config-cycle -p -u {url} content.images ;; reload')