]> git.rmz.io Git - dotfiles.git/commitdiff
qutebrowser: move cookies exception to autoconfig
authorSamir Benmendil <me@rmz.io>
Sat, 26 Sep 2020 13:39:21 +0000 (14:39 +0100)
committerSamir Benmendil <me@rmz.io>
Sat, 26 Sep 2020 13:41:20 +0000 (14:41 +0100)
That is where the bindings will save them to. Also ignore that file as
it will most likely only contain local and private data.

qutebrowser/.gitignore
qutebrowser/config.py

index bccbd78c26f6598e69b2f28286b782c69f6c5fc4..77b9ee086a51f810a5bd5e6b328511c6c87b271c 100644 (file)
@@ -1 +1,2 @@
 /qsettings/
+autoconfig.yml
index a3bf1223191fb9cab7dbf64033040216208627fc..746c78553045ee033e4a74fa583cc3b90c829f17 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