~pvsr/dotfiles

b69f3dd11f1aee90e68e663acecc4dde435b347d — Peter Rice 1 year, 1 month ago dd009a9
change js whitelist format
1 files changed, 1 insertions(+), 1 deletions(-)

M qutebrowser/.config/qutebrowser/conf.d/js.py
M qutebrowser/.config/qutebrowser/conf.d/js.py => qutebrowser/.config/qutebrowser/conf.d/js.py +1 -1
@@ 9,6 9,6 @@ for protocol in (
try:
    with open(config.configdir / 'conf.d' / 'domains', 'r') as f:
        for domain in f.read().splitlines():
            config.set('content.javascript.enabled', True, '*://' + domain + '/*')
            config.set('content.javascript.enabled', True, domain)
except FileNotFoundError:
    config.set('content.javascript.enabled', True)