aboutsummaryrefslogtreecommitdiff
path: root/config/qutebrowser/config.py
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2019-03-08 15:18:11 +0100
committerFlorian Fischer <florian.fl.fischer@fau.de>2019-03-08 15:18:11 +0100
commitaee8dc66ee389bc58f309ccec412142b28a87942 (patch)
tree2c1c177088858b7e1708c6a0411e3990a14a35d2 /config/qutebrowser/config.py
parenta9bf6fc5e2bd11cbf50230a04e090ef722d0c709 (diff)
downloaddotfiles-aee8dc66ee389bc58f309ccec412142b28a87942.tar.gz
dotfiles-aee8dc66ee389bc58f309ccec412142b28a87942.zip
[qutebrowser] add autoconfig to enable js on trusted domains
Diffstat (limited to 'config/qutebrowser/config.py')
-rw-r--r--config/qutebrowser/config.py5
1 files changed, 4 insertions, 1 deletions
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('<Ctrl-l>', '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)