qutebrowser: clean up long/duplicate comments
This commit is contained in:
parent
43b45ffaf7
commit
af8e5c7a0d
@ -75,28 +75,6 @@ c.content.autoplay = False
|
|||||||
# - never: Don't accept cookies at all.
|
# - never: Don't accept cookies at all.
|
||||||
config.set('content.cookies.accept', 'all', 'chrome-devtools://*')
|
config.set('content.cookies.accept', 'all', 'chrome-devtools://*')
|
||||||
|
|
||||||
# Which cookies to accept. With QtWebEngine, this setting also controls
|
|
||||||
# other features with tracking capabilities similar to those of cookies;
|
|
||||||
# including IndexedDB, DOM storage, filesystem API, service workers, and
|
|
||||||
# AppCache. Note that with QtWebKit, only `all` and `never` are
|
|
||||||
# supported as per-domain values. Setting `no-3rdparty` or `no-
|
|
||||||
# unknown-3rdparty` per-domain on QtWebKit will have the same effect as
|
|
||||||
# `all`. If this setting is used with URL patterns, the pattern gets
|
|
||||||
# applied to the origin/first party URL of the page making the request,
|
|
||||||
# not the request URL. With QtWebEngine 5.15.0+, paths will be stripped
|
|
||||||
# from URLs, so URL patterns using paths will not match. With
|
|
||||||
# QtWebEngine 5.15.2+, subdomains are additionally stripped as well, so
|
|
||||||
# you will typically need to set this setting for `example.com` when the
|
|
||||||
# cookie is set on `somesubdomain.example.com` for it to work properly.
|
|
||||||
# To debug issues with this setting, start qutebrowser with `--debug
|
|
||||||
# --logfilter network --debug-flag log-cookies` which will show all
|
|
||||||
# cookies being set.
|
|
||||||
# Type: String
|
|
||||||
# Valid values:
|
|
||||||
# - all: Accept all cookies.
|
|
||||||
# - no-3rdparty: Accept cookies from the same origin only. This is known to break some sites, such as GMail.
|
|
||||||
# - no-unknown-3rdparty: Accept cookies from the same origin only, unless a cookie is already set for the domain. On QtWebEngine, this is the same as no-3rdparty.
|
|
||||||
# - never: Don't accept cookies at all.
|
|
||||||
config.set('content.cookies.accept', 'all', 'devtools://*')
|
config.set('content.cookies.accept', 'all', 'devtools://*')
|
||||||
|
|
||||||
# Default encoding to use for websites. The encoding must be a string
|
# Default encoding to use for websites. The encoding must be a string
|
||||||
@ -175,36 +153,8 @@ c.content.headers.referer = 'same-domain'
|
|||||||
# Type: FormatString
|
# Type: FormatString
|
||||||
config.set('content.headers.user_agent', 'Mozilla/5.0 ({os_info}) AppleWebKit/{webkit_version} (KHTML, like Gecko) {upstream_browser_key}/{upstream_browser_version} Safari/{webkit_version}', 'https://web.whatsapp.com/')
|
config.set('content.headers.user_agent', 'Mozilla/5.0 ({os_info}) AppleWebKit/{webkit_version} (KHTML, like Gecko) {upstream_browser_key}/{upstream_browser_version} Safari/{webkit_version}', 'https://web.whatsapp.com/')
|
||||||
|
|
||||||
# User agent to send. The following placeholders are defined: *
|
config.set('content.headers.user_agent', 'Mozilla/5.0 ({os_info}; rv:90.0) Gecko/20100101 Firefox/90.0', 'https://accounts.google.com/*')
|
||||||
# `{os_info}`: Something like "X11; Linux x86_64". * `{webkit_version}`:
|
|
||||||
# The underlying WebKit version (set to a fixed value with
|
|
||||||
# QtWebEngine). * `{qt_key}`: "Qt" for QtWebKit, "QtWebEngine" for
|
|
||||||
# QtWebEngine. * `{qt_version}`: The underlying Qt version. *
|
|
||||||
# `{upstream_browser_key}`: "Version" for QtWebKit, "Chrome" for
|
|
||||||
# QtWebEngine. * `{upstream_browser_version}`: The corresponding
|
|
||||||
# Safari/Chrome version. * `{qutebrowser_version}`: The currently
|
|
||||||
# running qutebrowser version. The default value is equal to the
|
|
||||||
# unchanged user agent of QtWebKit/QtWebEngine. Note that the value
|
|
||||||
# read from JavaScript is always the global value. With QtWebEngine
|
|
||||||
# between 5.12 and 5.14 (inclusive), changing the value exposed to
|
|
||||||
# JavaScript requires a restart.
|
|
||||||
# Type: FormatString
|
|
||||||
config.set('content.headers.user_agent', 'Mozilla/5.0 ({os_info}) AppleWebKit/{webkit_version} (KHTML, like Gecko) {upstream_browser_key}/{upstream_browser_version} Safari/{webkit_version} Edg/{upstream_browser_version}', 'https://accounts.google.com/*')
|
|
||||||
|
|
||||||
# User agent to send. The following placeholders are defined: *
|
|
||||||
# `{os_info}`: Something like "X11; Linux x86_64". * `{webkit_version}`:
|
|
||||||
# The underlying WebKit version (set to a fixed value with
|
|
||||||
# QtWebEngine). * `{qt_key}`: "Qt" for QtWebKit, "QtWebEngine" for
|
|
||||||
# QtWebEngine. * `{qt_version}`: The underlying Qt version. *
|
|
||||||
# `{upstream_browser_key}`: "Version" for QtWebKit, "Chrome" for
|
|
||||||
# QtWebEngine. * `{upstream_browser_version}`: The corresponding
|
|
||||||
# Safari/Chrome version. * `{qutebrowser_version}`: The currently
|
|
||||||
# running qutebrowser version. The default value is equal to the
|
|
||||||
# unchanged user agent of QtWebKit/QtWebEngine. Note that the value
|
|
||||||
# read from JavaScript is always the global value. With QtWebEngine
|
|
||||||
# between 5.12 and 5.14 (inclusive), changing the value exposed to
|
|
||||||
# JavaScript requires a restart.
|
|
||||||
# Type: FormatString
|
|
||||||
config.set('content.headers.user_agent', 'Mozilla/5.0 ({os_info}) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99 Safari/537.36', 'https://*.slack.com/*')
|
config.set('content.headers.user_agent', 'Mozilla/5.0 ({os_info}) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99 Safari/537.36', 'https://*.slack.com/*')
|
||||||
|
|
||||||
# Which method of blocking ads should be used. Support for Adblock Plus
|
# Which method of blocking ads should be used. Support for Adblock Plus
|
||||||
@ -245,16 +195,14 @@ config.set('content.images', True, 'devtools://*')
|
|||||||
# Type: Bool
|
# Type: Bool
|
||||||
c.content.javascript.can_access_clipboard = False
|
c.content.javascript.can_access_clipboard = False
|
||||||
|
|
||||||
|
# Allow JavaScript to read from or write to the clipboard.
|
||||||
config.set('content.javascript.can_access_clipboard', True, 'git.dotya.ml')
|
config.set('content.javascript.can_access_clipboard', True, 'git.dotya.ml')
|
||||||
|
|
||||||
config.set('content.javascript.can_access_clipboard', True, 'dotya.ml')
|
config.set('content.javascript.can_access_clipboard', True, 'dotya.ml')
|
||||||
|
|
||||||
config.set('content.javascript.can_access_clipboard', True, 'drone.dotya.ml')
|
config.set('content.javascript.can_access_clipboard', True, 'drone.dotya.ml')
|
||||||
|
|
||||||
config.set('content.javascript.can_access_clipboard', True, 'github.com')
|
config.set('content.javascript.can_access_clipboard', True, 'github.com')
|
||||||
|
|
||||||
## Allow JavaScript to close tabs.
|
# Allow JavaScript to close tabs.
|
||||||
## Type: Bool
|
# Type: Bool
|
||||||
c.content.javascript.can_close_tabs = False
|
c.content.javascript.can_close_tabs = False
|
||||||
|
|
||||||
# Enable JavaScript.
|
# Enable JavaScript.
|
||||||
@ -285,10 +233,7 @@ c.content.media.audio_video_capture = 'ask'
|
|||||||
|
|
||||||
c.content.media.video_capture = 'ask'
|
c.content.media.video_capture = 'ask'
|
||||||
|
|
||||||
# Whether to show the origin URL for notifications. Note that URL
|
# Whether to show the origin URL for notifications.
|
||||||
# patterns with this setting only get matched against the origin part of
|
|
||||||
# the URL, so e.g. paths in patterns will never match. Note that with
|
|
||||||
# the `qt` presenter, origins are never shown.
|
|
||||||
# Type: Bool
|
# Type: Bool
|
||||||
c.content.notifications.show_origin = True
|
c.content.notifications.show_origin = True
|
||||||
|
|
||||||
@ -306,18 +251,10 @@ c.content.user_stylesheets = 'stylesheets/user.css'
|
|||||||
# Type: Bool
|
# Type: Bool
|
||||||
c.content.webgl = True
|
c.content.webgl = True
|
||||||
|
|
||||||
# Automatically mute tabs. Note that if the `:tab-mute` command is used,
|
# Automatically mute tabs.
|
||||||
# the mute status for the affected tab is now controlled manually, and
|
|
||||||
# this setting doesn't have any effect.
|
|
||||||
# Type: Bool
|
# Type: Bool
|
||||||
c.content.mute = True
|
c.content.mute = True
|
||||||
|
|
||||||
# Editor (and arguments) to use for the `edit-*` commands. The following
|
|
||||||
# placeholders are defined: * `{file}`: Filename of the file to be
|
|
||||||
# edited. * `{line}`: Line in which the caret is found in the text. *
|
|
||||||
# `{column}`: Column in which the caret is found in the text. *
|
|
||||||
# `{line0}`: Same as `{line}`, but starting from index 0. * `{column0}`:
|
|
||||||
# Same as `{column}`, but starting from index 0.
|
|
||||||
# Type: ShellCommand
|
# Type: ShellCommand
|
||||||
c.editor.command = ['kitty', 'vim', '-f', '{file}']
|
c.editor.command = ['kitty', 'vim', '-f', '{file}']
|
||||||
|
|
||||||
@ -325,11 +262,6 @@ c.editor.command = ['kitty', 'vim', '-f', '{file}']
|
|||||||
# Type: Encoding
|
# Type: Encoding
|
||||||
c.editor.encoding = 'utf-8'
|
c.editor.encoding = 'utf-8'
|
||||||
|
|
||||||
# Command (and arguments) to use for selecting a single folder in forms.
|
|
||||||
# The command should write the selected folder path to the specified
|
|
||||||
# file or stdout. The following placeholders are defined: * `{}`:
|
|
||||||
# Filename of the file to be written to. If not contained in any
|
|
||||||
# argument, the standard output of the command is read instead.
|
|
||||||
# Type: ShellCommand
|
# Type: ShellCommand
|
||||||
c.fileselect.folder.command = ['kitty', 'ranger', '--choosedir={}']
|
c.fileselect.folder.command = ['kitty', 'ranger', '--choosedir={}']
|
||||||
|
|
||||||
@ -385,12 +317,7 @@ c.tabs.favicons.scale = 1
|
|||||||
c.tabs.padding = {'top': 0, 'right': 0, 'bottom': 0, 'left': 0}
|
c.tabs.padding = {'top': 0, 'right': 0, 'bottom': 0, 'left': 0}
|
||||||
|
|
||||||
# Position of the tab bar.
|
# Position of the tab bar.
|
||||||
# Type: Position
|
# Valid values:[top, bottom, left, right]
|
||||||
# Valid values:
|
|
||||||
# - top
|
|
||||||
# - bottom
|
|
||||||
# - left
|
|
||||||
# - right
|
|
||||||
c.tabs.position = 'top'
|
c.tabs.position = 'top'
|
||||||
|
|
||||||
# Width (in pixels or as percentage of the window) of the tab bar if
|
# Width (in pixels or as percentage of the window) of the tab bar if
|
||||||
@ -409,24 +336,6 @@ c.tabs.min_width = -1
|
|||||||
# Type: Int
|
# Type: Int
|
||||||
c.tabs.indicator.width = 1
|
c.tabs.indicator.width = 1
|
||||||
|
|
||||||
# Search engines which can be used via the address bar. Maps a search
|
|
||||||
# engine name (such as `DEFAULT`, or `ddg`) to a URL with a `{}`
|
|
||||||
# placeholder. The placeholder will be replaced by the search term, use
|
|
||||||
# `{{` and `}}` for literal `{`/`}` braces. The following further
|
|
||||||
# placeholds are defined to configure how special characters in the
|
|
||||||
# search terms are replaced by safe characters (called 'quoting'): *
|
|
||||||
# `{}` and `{semiquoted}` quote everything except slashes; this is the
|
|
||||||
# most sensible choice for almost all search engines (for the search
|
|
||||||
# term `slash/and&` this placeholder expands to `slash/and%26amp`).
|
|
||||||
# * `{quoted}` quotes all characters (for `slash/and&` this
|
|
||||||
# placeholder expands to `slash%2Fand%26amp`). * `{unquoted}` quotes
|
|
||||||
# nothing (for `slash/and&` this placeholder expands to
|
|
||||||
# `slash/and&`). * `{0}` means the same as `{}`, but can be used
|
|
||||||
# multiple times. The search engine named `DEFAULT` is used when
|
|
||||||
# `url.auto_search` is turned on and something else than a URL was
|
|
||||||
# entered to be opened. Other search engines can be used by prepending
|
|
||||||
# the search engine name to the search term, e.g. `:open google
|
|
||||||
# qutebrowser`.
|
|
||||||
# Type: Dict
|
# Type: Dict
|
||||||
c.url.searchengines = {
|
c.url.searchengines = {
|
||||||
'DEFAULT': 'https://searxng.dotya.ml/search?q={}',
|
'DEFAULT': 'https://searxng.dotya.ml/search?q={}',
|
||||||
@ -439,12 +348,6 @@ c.url.searchengines = {
|
|||||||
# Type: Bool
|
# Type: Bool
|
||||||
c.window.hide_decoration = False
|
c.window.hide_decoration = False
|
||||||
|
|
||||||
# Set the main window background to transparent. This allows having a
|
|
||||||
# transparent tab- or statusbar (might require a compositor such as
|
|
||||||
# picom). However, it breaks some functionality such as dmenu embedding
|
|
||||||
# via its `-w` option. On some systems, it was additionally reported
|
|
||||||
# that main window transparency negatively affects performance. Note
|
|
||||||
# this setting only affects windows opened after setting it.
|
|
||||||
# Type: Bool
|
# Type: Bool
|
||||||
c.window.transparent = False
|
c.window.transparent = False
|
||||||
|
|
||||||
@ -464,12 +367,6 @@ c.zoom.levels = [
|
|||||||
# Type: QtColor
|
# Type: QtColor
|
||||||
c.colors.webpage.bg = '#1c1b22'
|
c.colors.webpage.bg = '#1c1b22'
|
||||||
|
|
||||||
# Value to use for `prefers-color-scheme:` for websites. The "light"
|
|
||||||
# value is only available with QtWebEngine 5.15.2+. On older versions,
|
|
||||||
# it is the same as "auto". The "auto" value is broken on QtWebEngine
|
|
||||||
# 5.15.2 due to a Qt bug. There, it will fall back to "light"
|
|
||||||
# unconditionally.
|
|
||||||
# Type: String
|
|
||||||
# Valid values:
|
# Valid values:
|
||||||
# - auto: Use the system-wide color scheme setting.
|
# - auto: Use the system-wide color scheme setting.
|
||||||
# - light: Force a light theme.
|
# - light: Force a light theme.
|
||||||
@ -488,15 +385,12 @@ c.fonts.default_size = '16px'
|
|||||||
# Type: Font
|
# Type: Font
|
||||||
c.fonts.contextmenu = 'FiraCode'
|
c.fonts.contextmenu = 'FiraCode'
|
||||||
|
|
||||||
# Font used for selected tabs.
|
|
||||||
# Type: Font
|
|
||||||
c.fonts.tabs.selected = 'FiraCode'
|
c.fonts.tabs.selected = 'FiraCode'
|
||||||
|
|
||||||
# Font family for fixed fonts.
|
c.fonts.web.family.standard = 'FiraCode'
|
||||||
# Type: FontFamily
|
|
||||||
c.fonts.web.family.fixed = 'FiraCode'
|
c.fonts.web.family.fixed = 'FiraCode'
|
||||||
|
|
||||||
c.fonts.web.family.standard = 'FiraCode'
|
|
||||||
c.fonts.web.family.sans_serif = 'FiraCode'
|
c.fonts.web.family.sans_serif = 'FiraCode'
|
||||||
|
|
||||||
# Default font size (in pixels) for regular text.
|
# Default font size (in pixels) for regular text.
|
||||||
|
Loading…
Reference in New Issue
Block a user