summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2021-03-27 22:27:06 +0100
committerFlorian Bruhin <me@the-compiler.org>2021-03-27 22:27:06 +0100
commit638419c10ee0968260e1b0de69c7ddc36171d9b7 (patch)
treecf5d4c5d9fd5643a75a6312611270c32c30e7418 /doc
parent9530991425bb205623aedf2b74615312a071cfc1 (diff)
downloadqutebrowser-638419c10ee0968260e1b0de69c7ddc36171d9b7.tar.gz
qutebrowser-638419c10ee0968260e1b0de69c7ddc36171d9b7.zip
notifications: Add show_origin setting
Diffstat (limited to 'doc')
-rw-r--r--doc/changelog.asciidoc3
-rw-r--r--doc/help/settings.asciidoc17
2 files changed, 20 insertions, 0 deletions
diff --git a/doc/changelog.asciidoc b/doc/changelog.asciidoc
index 2f7bd8301..546962f28 100644
--- a/doc/changelog.asciidoc
+++ b/doc/changelog.asciidoc
@@ -56,6 +56,9 @@ Added
drawbacks)
* messages: Use qutebrowser messages
* herbe: Use https://github.com/dudik/herbe[herbe]
+- New `content.notifications.show_origin` setting which can be used to decide
+ for which notifications to show the origin (the URL the notification was sent
+ from).
Changed
~~~~~~~
diff --git a/doc/help/settings.asciidoc b/doc/help/settings.asciidoc
index 7accd8a2e..c4034255e 100644
--- a/doc/help/settings.asciidoc
+++ b/doc/help/settings.asciidoc
@@ -183,6 +183,7 @@
|<<content.netrc_file,content.netrc_file>>|Netrc-file for HTTP authentication.
|<<content.notifications.enabled,content.notifications.enabled>>|Allow websites to show notifications.
|<<content.notifications.presenter,content.notifications.presenter>>|What notification presenter to use for web notifications.
+|<<content.notifications.show_origin,content.notifications.show_origin>>|Whether to show the origin URL for notifications.
|<<content.pdfjs,content.pdfjs>>|Allow pdf.js to view PDF files in the browser.
|<<content.persistent_storage,content.persistent_storage>>|Allow websites to request persistent storage quota via `navigator.webkitPersistentStorage.requestQuota`.
|<<content.plugins,content.plugins>>|Enable plugins in Web pages.
@@ -2549,6 +2550,22 @@ Valid values:
Default: +pass:[auto]+
+[[content.notifications.show_origin]]
+=== content.notifications.show_origin
+Whether to show the origin URL for notifications.
+Note that URL 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.
+
+This setting supports URL patterns.
+
+On QtWebEngine, this setting requires Qt 5.14 or newer.
+
+On QtWebKit, this setting is unavailable.
+
+Type: <<types,Bool>>
+
+Default: +pass:[true]+
+
[[content.pdfjs]]
=== content.pdfjs
Allow pdf.js to view PDF files in the browser.