1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-12-29 16:26:45 +00:00
dotfiles/qutebrowser/sites.py

24 lines
856 B
Python
Raw Normal View History

c.content.cookies.accept = "never"
c.content.javascript.enabled = False
c.content.notifications.enabled = False
c.content.register_protocol_handler = False
c.url.start_pages = c.url.default_page = 'minifocs.fly.dev'
sites = [
'archiveofourown.org',
'canary.discord.com',
2023-11-07 16:40:03 +00:00
'app.tuta.com',
c.url.default_page,
'*.rpi.edu',
2023-12-16 00:24:00 +00:00
'*.albany.edu',
'api-3e0243bb.duosecurity.com',
2023-12-16 00:24:00 +00:00
'api-71fc1511.duosecurity.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')
2022-03-04 17:37:45 +00:00
config.set('content.headers.user_agent', 'iPhone', 'drive.google.com')
config.set('colors.webpage.darkmode.enabled', False, 'canary.discord.com')