From aee8dc66ee389bc58f309ccec412142b28a87942 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Fri, 8 Mar 2019 15:18:11 +0100 Subject: [qutebrowser] add autoconfig to enable js on trusted domains --- config/qutebrowser/config.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'config/qutebrowser/config.py') diff --git a/config/qutebrowser/config.py b/config/qutebrowser/config.py index 5e567d2..0b1fb80 100644 --- a/config/qutebrowser/config.py +++ b/config/qutebrowser/config.py @@ -6,13 +6,16 @@ config.bind(',x', 'hint links spawn mpv {hint-url}') config.bind('', 'spawn --userscript password_fill') -c.editor.command = [os.environ["TERMINAL"], "-e", os.environ["VISUAL"], "+{line}", "{}"] +c.editor.command = [os.environ["TERMINAL"], "-e", os.environ["VISUAL"], "{}"] c.content.headers.do_not_track = True # Disable javascript by default config.set('content.javascript.enabled', False) +# Load autoconfig to enable javascript on trusted domains +config.load_autoconfig() + # base16-qutebrowser (https://github.com/theova/base16-qutebrowser) # Base16 qutebrowser template by theova # Solarized Dark scheme by Ethan Schoonover (modified by aramisgithub) -- cgit v1.2.3