qutebrowser_configs/configs/privacy-settings.py

34 lines
1008 B
Python

# -*- mode: python; python-indent-offset: 4; tab-width: 0; encoding: utf-8-unix -*-
# This should be execed in config.py
"""Some privacy settings - YMMV
"""
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