From: Maximilian Friedersdorff Date: Sat, 15 Sep 2018 12:00:22 +0000 (+0100) Subject: Somewhat protect qutebrowser against fingerprinting X-Git-Url: https://git.friedersdorff.com/?a=commitdiff_plain;h=44262a9f4263d06fa522c665bb70fa753ac55b38;p=max%2Fdotfiles.git Somewhat protect qutebrowser against fingerprinting --- 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