]> git.friedersdorff.com Git - max/dotfiles.git/commitdiff
Somewhat protect qutebrowser against fingerprinting
authorMaximilian Friedersdorff <max@friedersdorff.com>
Sat, 15 Sep 2018 12:00:22 +0000 (13:00 +0100)
committerMaximilian Friedersdorff <max@friedersdorff.com>
Sat, 15 Sep 2018 12:00:22 +0000 (13:00 +0100)
qutebrowser/.config/qutebrowser/config.py
qutebrowser/.local/bin/qutebrowser [new file with mode: 0755]

index 46e82990833524123845e02a2ce800d784d29052..0930ea2d4f5834e718b55a1d41c452ed118b8e60 100644 (file)
@@ -14,3 +14,8 @@ config.bind(',dj', 'spawn --userscript noscript_disable')
 
 # 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'}
diff --git a/qutebrowser/.local/bin/qutebrowser b/qutebrowser/.local/bin/qutebrowser
new file mode 100755 (executable)
index 0000000..f9c0311
--- /dev/null
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+qutebrowser --qt-flag disable-reading-from-canvas