1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-11-16 11:52:47 +00:00
dotfiles/qutebrowser/javascript.py

14 lines
385 B
Python

c.content.javascript.enabled = False
sites = [
'canary.discord.com',
'duckduckgo.com',
'feedly.com',
'mail.tutanota.com',
'*.rpi.edu',
'api-3e0243bb.duosecurity.com',
]
for site in sites:
config.set('content.javascript.enabled', True, 'https://' + site)
config.set('content.headers.user_agent', 'iPhone', 'docs.google.com')