From 44262a9f4263d06fa522c665bb70fa753ac55b38 Mon Sep 17 00:00:00 2001 From: Maximilian Friedersdorff Date: Sat, 15 Sep 2018 13:00:22 +0100 Subject: [PATCH] Somewhat protect qutebrowser against fingerprinting --- qutebrowser/.config/qutebrowser/config.py | 5 +++++ qutebrowser/.local/bin/qutebrowser | 3 +++ 2 files changed, 8 insertions(+) create mode 100755 qutebrowser/.local/bin/qutebrowser diff --git a/qutebrowser/.config/qutebrowser/config.py b/qutebrowser/.config/qutebrowser/config.py index 46e8299..0930ea2 100644 --- a/qutebrowser/.config/qutebrowser/config.py +++ b/qutebrowser/.config/qutebrowser/config.py @@ -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 index 0000000..f9c0311 --- /dev/null +++ b/qutebrowser/.local/bin/qutebrowser @@ -0,0 +1,3 @@ +#!/bin/sh + +qutebrowser --qt-flag disable-reading-from-canvas -- 2.46.2