aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2021-03-19 11:11:17 +0100
committerFlorian Fischer <florian.fl.fischer@fau.de>2021-03-19 11:11:17 +0100
commit02b2609b222aa462c795678ec0b6bdc14e3209ed (patch)
treeaa90ea2daa3b33ecfef81ab3c025467747809a74 /config
parent1099210f6e7662e9c16384ef8e4e3119ab062283 (diff)
downloaddotfiles-02b2609b222aa462c795678ec0b6bdc14e3209ed.tar.gz
dotfiles-02b2609b222aa462c795678ec0b6bdc14e3209ed.zip
[qutebrowser] no 3rdparty cookies, no autoplay and update darkmode setting
Diffstat (limited to 'config')
-rw-r--r--config/qutebrowser/config.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/config/qutebrowser/config.py b/config/qutebrowser/config.py
index b31dedd..1cb9265 100644
--- a/config/qutebrowser/config.py
+++ b/config/qutebrowser/config.py
@@ -17,6 +17,10 @@ c.content.headers.do_not_track = True
# Disable javascript by default
config.set('content.javascript.enabled', False)
+config.set('content.cookies.accept', 'no-3rdparty')
+
+config.set('content.autoplay', False)
+
# Load autoconfig to enable javascript on trusted domains
config.load_autoconfig()
@@ -28,4 +32,4 @@ for setting, color in theme.theme.items():
config.set(setting, color)
# request dark mode from pages
-config.set("colors.webpage.prefers_color_scheme_dark", True)
+config.set("colors.webpage.preferred_color_scheme", "dark")