From b713c7c4736e416d6fbbb2e317d9a992171d00b9 Mon Sep 17 00:00:00 2001 From: Maximilian Friedersdorff Date: Fri, 31 Aug 2018 16:04:15 +0100 Subject: [PATCH] Allow js by default on friedersdorff.com domain --- qutebrowser/.config/qutebrowser/config.py | 4 ++++ 1 file changed, 4 insertions(+) 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') -- 2.46.2