qutebrowser: clean more comments

This commit is contained in:
surtur 2022-10-30 02:34:41 +02:00
parent 092d2870c2
commit 2723d70582
Signed by: wanderer
SSH Key Fingerprint: SHA256:MdCZyJ2sHLltrLBp0xQO0O1qTW9BT/xl5nXkDvhlMCI

@ -90,26 +90,29 @@ c.content.default_encoding = 'utf-8'
# - ask # - ask
c.content.desktop_capture = 'ask' c.content.desktop_capture = 'ask'
# Try to pre-fetch DNS entries to speed up browsing.
# Type: Bool
c.content.dns_prefetch = True
# Allow websites to request geolocations. # Allow websites to request geolocations.
# Type: BoolAsk # Type: BoolAsk
# Valid values:
# - true
# - false
# - ask
c.content.geolocation = 'ask' c.content.geolocation = 'ask'
# Allow websites to lock your mouse pointer. # Allow websites to lock your mouse pointer.
# Type: BoolAsk # Type: BoolAsk
# Valid values:
# - true
# - false
# - ask
c.content.mouse_lock = 'ask' c.content.mouse_lock = 'ask'
# Allow websites to record audio.
# Type: BoolAsk
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.
# Type: BoolAsk
c.content.media.video_capture = 'ask'
# Try to pre-fetch DNS entries to speed up browsing.
# Type: Bool
c.content.dns_prefetch = True
# Value to send in the `Accept-Language` header. Note that the value # Value to send in the `Accept-Language` header. Note that the value
# read from JavaScript is always the global value. # read from JavaScript is always the global value.
# Type: String # Type: String
@ -119,17 +122,11 @@ config.set('content.headers.accept_language', '', 'https://matchmaker.krunker.io
# Type: Dict # Type: Dict
c.content.headers.custom = {} c.content.headers.custom = {}
# Value to send in the `DNT` header. When this is set to true, # Value to send in the `DNT` header.
# qutebrowser asks websites to not track your identity. If set to null,
# the DNT header is not sent at all.
# Type: Bool # Type: Bool
c.content.headers.do_not_track = True c.content.headers.do_not_track = True
# When to send the Referer header. The Referer header tells websites # When to send the Referer header.
# from which website you were coming from when visiting them. Note that
# with QtWebEngine, websites can override this preference by setting the
# `Referrer-Policy:` header, so that any websites visited from them get
# the full referer. No restart is needed with QtWebKit.
# Type: String # Type: String
# Valid values: # Valid values:
# - always: Always send the Referer. # - always: Always send the Referer.
@ -208,31 +205,10 @@ c.content.javascript.can_close_tabs = False
# Enable JavaScript. # Enable JavaScript.
# Type: Bool # Type: Bool
config.set('content.javascript.enabled', True, 'chrome-devtools://*') config.set('content.javascript.enabled', True, 'chrome-devtools://*')
# Enable JavaScript.
# Type: Bool
config.set('content.javascript.enabled', True, 'devtools://*') config.set('content.javascript.enabled', True, 'devtools://*')
# Enable JavaScript.
# Type: Bool
config.set('content.javascript.enabled', True, 'chrome://*/*') config.set('content.javascript.enabled', True, 'chrome://*/*')
# Enable JavaScript.
# Type: Bool
config.set('content.javascript.enabled', True, 'qute://*/*') config.set('content.javascript.enabled', True, 'qute://*/*')
# Allow websites to record audio.
# Type: BoolAsk
# Valid values:
# - true
# - false
# - ask
c.content.media.audio_capture = 'ask'
c.content.media.audio_video_capture = 'ask'
c.content.media.video_capture = 'ask'
# Whether to show the origin URL for notifications. # Whether to show the origin URL for notifications.
# Type: Bool # Type: Bool
c.content.notifications.show_origin = True c.content.notifications.show_origin = True