1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-11-17 04:12:44 +00:00
dotfiles/qutebrowser/sites.py
2023-12-15 19:24:00 -05:00

23 lines
751 B
Python

c.content.cookies.accept = "never"
c.content.javascript.enabled = False
c.content.notifications.enabled = False
c.content.register_protocol_handler = False
sites = [
'archiveofourown.org',
'canary.discord.com',
'app.tuta.com',
c.url.default_page,
'*.rpi.edu',
'*.albany.edu',
'api-3e0243bb.duosecurity.com',
'api-71fc1511.duosecurity.com',
'www.gradescope.com',
]
for site in sites:
config.set('content.javascript.enabled', True, 'https://' + site)
config.set('content.cookies.accept', 'no-3rdparty', 'https://' + site)
config.set('content.headers.user_agent', 'iPhone', 'docs.google.com')
config.set('content.headers.user_agent', 'iPhone', 'drive.google.com')