29 lines
859 B
Python
29 lines
859 B
Python
|
# privacy
|
||
|
c.content.geolocation = False
|
||
|
c.content.dns_prefetch = False
|
||
|
c.content.canvas_reading = False
|
||
|
|
||
|
c.content.webrtc_ip_handling_policy = 'disable-non-proxied-udp'
|
||
|
c.content.webgl = False
|
||
|
|
||
|
c.content.tls.certificate_errors = 'ask'
|
||
|
c.content.register_protocol_handler = 'ask'
|
||
|
|
||
|
c.content.notifications.show_origin = True
|
||
|
c.content.hyperlink_auditing = False
|
||
|
|
||
|
c.content.plugins = False
|
||
|
# The content.proxy_dns_requests setting is not available with the QtWebEngine backend!
|
||
|
# c.content.proxy_dns_requests = True
|
||
|
|
||
|
# Allow websites to record audio.
|
||
|
c.content.media.audio_capture = 'ask'
|
||
|
# Allow websites to record audio and video.
|
||
|
c.content.media.audio_video_capture = 'ask'
|
||
|
# Allow websites to record video
|
||
|
c.content.media.video_capture = 'ask'
|
||
|
|
||
|
# Enable the ad/host blocker
|
||
|
c.content.blocking.enabled = True
|
||
|
c.content.blocking.hosts.block_subdomains = True
|