From: Maximilian Friedersdorff Date: Fri, 31 Aug 2018 15:04:15 +0000 (+0100) Subject: Allow js by default on friedersdorff.com domain X-Git-Url: https://git.friedersdorff.com/?a=commitdiff_plain;h=b713c7c4736e416d6fbbb2e317d9a992171d00b9;p=max%2Fdotfiles.git Allow js by default on friedersdorff.com domain --- diff --git a/qutebrowser/.config/qutebrowser/config.py b/qutebrowser/.config/qutebrowser/config.py index bcbb4e8..7abfad6 100644 --- a/qutebrowser/.config/qutebrowser/config.py +++ b/qutebrowser/.config/qutebrowser/config.py @@ -3,6 +3,7 @@ config.load_autoconfig() c.auto_save.session = True c.content.cookies.store = False c.content.headers.user_agent = "Wget/1.16.1 (linux-gnu)" +config.set('content.headers.user_agent', 'Mozilla/5.0', '*://google.com/*') c.content.images = True c.editor.command = ['urxvt', '-e', 'vim', '{file}'] c.tabs.position = 'left' @@ -12,3 +13,6 @@ c.messages.timeout = 5000 config.bind(',ej', 'spawn --userscript noscript_enable') config.bind(',dj', 'spawn --userscript noscript_disable') + +# Allow JS and cookies on own domain +config.set('content.javascript.enabled', True, '*.friedersdorff.com')