2022-04-11 16:39:19 +00:00
|
|
|
c.content.cookies.accept = "never"
|
2022-02-04 18:17:39 +00:00
|
|
|
c.content.javascript.enabled = False
|
2022-04-11 16:39:19 +00:00
|
|
|
c.content.notifications.enabled = False
|
|
|
|
c.content.register_protocol_handler = False
|
2022-02-04 18:17:39 +00:00
|
|
|
sites = [
|
2022-04-11 16:39:19 +00:00
|
|
|
'archiveofourown.org',
|
2022-02-04 18:17:39 +00:00
|
|
|
'canary.discord.com',
|
2022-04-11 16:39:19 +00:00
|
|
|
'*.tutanota.com',
|
2022-09-09 18:54:48 +00:00
|
|
|
c.url.default_page,
|
2022-04-11 16:39:19 +00:00
|
|
|
|
2022-02-04 18:17:39 +00:00
|
|
|
'*.rpi.edu',
|
|
|
|
'api-3e0243bb.duosecurity.com',
|
|
|
|
]
|
|
|
|
for site in sites:
|
|
|
|
config.set('content.javascript.enabled', True, 'https://' + site)
|
2022-04-11 16:39:19 +00:00
|
|
|
config.set('content.cookies.accept', 'no-3rdparty', 'https://' + site)
|
2022-02-04 18:17:39 +00:00
|
|
|
|
|
|
|
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')
|