From 2723d705828107ac50bdd040adf20d1679c4c193 Mon Sep 17 00:00:00 2001 From: surtur Date: Sun, 30 Oct 2022 02:34:41 +0200 Subject: [PATCH] qutebrowser: clean more comments --- .config/qutebrowser/config.py | 58 ++++++++++------------------------- 1 file changed, 17 insertions(+), 41 deletions(-) diff --git a/.config/qutebrowser/config.py b/.config/qutebrowser/config.py index 8c92a55..ef84971 100644 --- a/.config/qutebrowser/config.py +++ b/.config/qutebrowser/config.py @@ -90,26 +90,29 @@ c.content.default_encoding = 'utf-8' # - 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. # Type: BoolAsk -# Valid values: -# - true -# - false -# - ask c.content.geolocation = 'ask' # Allow websites to lock your mouse pointer. # Type: BoolAsk -# Valid values: -# - true -# - false -# - 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 # read from JavaScript is always the global value. # Type: String @@ -119,17 +122,11 @@ config.set('content.headers.accept_language', '', 'https://matchmaker.krunker.io # Type: Dict c.content.headers.custom = {} -# Value to send in the `DNT` header. When this is set to true, -# qutebrowser asks websites to not track your identity. If set to null, -# the DNT header is not sent at all. +# Value to send in the `DNT` header. # Type: Bool c.content.headers.do_not_track = True -# When to send the Referer header. The Referer header tells websites -# 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. +# When to send the Referer header. # Type: String # Valid values: # - always: Always send the Referer. @@ -208,31 +205,10 @@ c.content.javascript.can_close_tabs = False # Enable JavaScript. # Type: Bool config.set('content.javascript.enabled', True, 'chrome-devtools://*') - -# Enable JavaScript. -# Type: Bool config.set('content.javascript.enabled', True, 'devtools://*') - -# Enable JavaScript. -# Type: Bool config.set('content.javascript.enabled', True, 'chrome://*/*') - -# Enable JavaScript. -# Type: Bool 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. # Type: Bool c.content.notifications.show_origin = True