From ebac12bc2e2989f5afa909ba38ae95a694bb6b9e Mon Sep 17 00:00:00 2001 From: Maximilian Friedersdorff Date: Wed, 28 Aug 2019 12:27:32 +0100 Subject: [PATCH] Remove anti-fingerprinting from qutebrowser on barium --- states/qutebrowser/files/config.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/states/qutebrowser/files/config.py b/states/qutebrowser/files/config.py index 6cf70b1..0a96ca3 100644 --- a/states/qutebrowser/files/config.py +++ b/states/qutebrowser/files/config.py @@ -19,6 +19,11 @@ c.content.cookies.store = False # Allow JS and cookies on own domain config.set('content.javascript.enabled', True, '*.friedersdorff.com') + +# Fingerprinting protection +c.content.headers.accept_language = 'en-US,en;q=0.5' +c.content.headers.user_agent = 'Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0' +c.content.headers.custom = {'accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'} {% endif %} config.bind(',zl', 'spawn --userscript qute-pass --dmenu-invocation bemenu') @@ -27,10 +32,6 @@ config.bind(',zpl', 'spawn --userscript qute-pass --dmenu-invocation bemenu --pa config.bind(',zol', 'spawn --userscript qute-pass --dmenu-invocation bemenu --otp-only') -# Fingerprinting protection -c.content.headers.accept_language = 'en-US,en;q=0.5' -c.content.headers.user_agent = 'Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0' -c.content.headers.custom = {'accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'} # wayland c.window.hide_decoration = True -- 2.46.2