per-domain settings in qutebrowser

This commit is contained in:
Felix Van der Jeugt 2018-03-12 10:36:09 +01:00
parent 5f0ddc9f03
commit bb9a01a6fc
No known key found for this signature in database
GPG Key ID: 58B209295023754D

View File

@ -52,3 +52,18 @@ config.unbind('wB')
config.unbind('gb')
config.unbind('gB')
config.unbind('Sb')
# Allowing javascript for...
allowed = [ 'https://calendar.google.com/*'
, 'https://www.facebook.com/*'
, 'https://www.glowing-bear.org/*'
, 'https://zeuswpi.slack.com/*'
, 'https://github.com/*'
, 'https://github.ugent.be/*'
, 'https://dodona.ugent.be/*'
, 'https://secure.ogone.com/*' # bancontact
, 'https://belgium-3dsecure.wlp-acs.com/*' # bancontact
]
for pattern in allowed:
config.set('content.javascript.enabled', True, pattern)