commit 533adc8a22380ec41d9fb1df9b5898eea4c5318e
parent c46c48c1a8979cb466daa411e7922804c7fb091c
Author: Daniel Moch <daniel@danielmoch.com>
Date: Wed, 17 Jul 2019 21:28:20 -0400
Qutebrowser: Modify JS-enabled sites
Diffstat:
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/.config/qutebrowser/config.py b/.config/qutebrowser/config.py
@@ -36,12 +36,10 @@
config.bind('<,><r>', 'reload --force')
# JavaScript whitelist
-config.set('content.javascript.enabled', True, 'https://duckduckgo.com')
-config.set('content.javascript.enabled', True, 'https://twitter.com')
-config.set('content.javascript.enabled', True, 'https://github.com')
+config.set('content.javascript.enabled', True, 'https://*.duckduckgo.com')
+config.set('content.javascript.enabled', True, 'https://*.twitter.com')
config.set('content.javascript.enabled', True, 'https://*.djmoch.org')
config.set('content.javascript.enabled', True, 'https://*.danielmoch.com')
-config.set('content.javascript.enabled', True, 'https://docs.python.org')
try:
import config_local