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',
|
2023-11-07 16:40:03 +00:00
|
|
|
'app.tuta.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',
|
2023-12-16 00:24:00 +00:00
|
|
|
'*.albany.edu',
|
2022-02-04 18:17:39 +00:00
|
|
|
'api-3e0243bb.duosecurity.com',
|
2023-12-16 00:24:00 +00:00
|
|
|
'api-71fc1511.duosecurity.com',
|
2022-11-08 16:10:49 +00:00
|
|
|
'www.gradescope.com',
|
2022-02-04 18:17:39 +00:00
|
|
|
]
|
|
|
|
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')
|