]> git.friedersdorff.com Git - max/saltfiles.git/commitdiff
Remove anti-fingerprinting from qutebrowser on barium
authorMaximilian Friedersdorff <max@friedersdorff.com>
Wed, 28 Aug 2019 11:27:32 +0000 (12:27 +0100)
committerMaximilian Friedersdorff <max@friedersdorff.com>
Wed, 28 Aug 2019 11:27:32 +0000 (12:27 +0100)
states/qutebrowser/files/config.py

index 6cf70b1df59d08dd0a1799b511d014cac52f5845..0a96ca3711ee4952128f6aa18838d55b6d5bc48a 100644 (file)
@@ -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