From: Maximilian Friedersdorff Date: Wed, 28 Aug 2019 11:27:32 +0000 (+0100) Subject: Remove anti-fingerprinting from qutebrowser on barium X-Git-Url: https://git.friedersdorff.com/?a=commitdiff_plain;h=ebac12bc2e2989f5afa909ba38ae95a694bb6b9e;p=max%2Fsaltfiles.git Remove anti-fingerprinting from qutebrowser on barium --- 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