summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorowl <owl@u8.is>2024-07-10 21:45:02 +0200
committerowl <owl@u8.is>2024-07-12 12:36:50 +0200
commitd9b93496568e669802594b01c54da5ad2aac990b (patch)
tree1f17e5f306280ded84601feb73ffdf17546b0cbb
parent71291280ac826f323913e2d26e8b4de1ff77effb (diff)
downloadqutebrowser-d9b93496568e669802594b01c54da5ad2aac990b.tar.gz
qutebrowser-d9b93496568e669802594b01c54da5ad2aac990b.zip
Add setting to disable Google Hangouts extension
Fixes #8257
-rw-r--r--doc/changelog.asciidoc6
-rw-r--r--doc/help/settings.asciidoc15
-rw-r--r--qutebrowser/config/configdata.yml13
-rw-r--r--qutebrowser/misc/pakjoy.py2
4 files changed, 36 insertions, 0 deletions
diff --git a/doc/changelog.asciidoc b/doc/changelog.asciidoc
index ae9bfc342..da0643023 100644
--- a/doc/changelog.asciidoc
+++ b/doc/changelog.asciidoc
@@ -19,6 +19,12 @@ breaking changes (such as renamed commands) can happen in minor releases.
v3.3.0 (unreleased)
-------------------
+Added
+~~~~~
+
+- Added the `qt.workarounds.disable_hangouts_extension` setting,
+ for disabling the Google Hangouts extension built into Chromium/QtWebEngine.
+
Removed
~~~~~~~
diff --git a/doc/help/settings.asciidoc b/doc/help/settings.asciidoc
index b51df3f2f..0bc76ec90 100644
--- a/doc/help/settings.asciidoc
+++ b/doc/help/settings.asciidoc
@@ -302,6 +302,7 @@
|<<qt.force_software_rendering,qt.force_software_rendering>>|Force software rendering for QtWebEngine.
|<<qt.highdpi,qt.highdpi>>|Turn on Qt HighDPI scaling.
|<<qt.workarounds.disable_accelerated_2d_canvas,qt.workarounds.disable_accelerated_2d_canvas>>|Disable accelerated 2d canvas to avoid graphical glitches.
+|<<qt.workarounds.disable_hangouts_extension,qt.workarounds.disable_hangouts_extension>>|Disable the Hangouts extension.
|<<qt.workarounds.locale,qt.workarounds.locale>>|Work around locale parsing issues in QtWebEngine 5.15.3.
|<<qt.workarounds.remove_service_workers,qt.workarounds.remove_service_workers>>|Delete the QtWebEngine Service Worker directory on every start.
|<<scrolling.bar,scrolling.bar>>|When/how to show the scrollbar.
@@ -3993,6 +3994,20 @@ Valid values:
Default: +pass:[auto]+
+[[qt.workarounds.disable_hangouts_extension]]
+=== qt.workarounds.disable_hangouts_extension
+Disable the Hangouts extension.
+The Hangouts extension provides additional APIs for Google domains only.
+Hangouts has been replaced with Meet, which appears to work without this extension.
+
+This setting requires a restart.
+
+This setting is only available with the QtWebEngine backend.
+
+Type: <<types,Bool>>
+
+Default: +pass:[false]+
+
[[qt.workarounds.locale]]
=== qt.workarounds.locale
Work around locale parsing issues in QtWebEngine 5.15.3.
diff --git a/qutebrowser/config/configdata.yml b/qutebrowser/config/configdata.yml
index 9e3334173..7991b89bc 100644
--- a/qutebrowser/config/configdata.yml
+++ b/qutebrowser/config/configdata.yml
@@ -404,6 +404,19 @@ qt.workarounds.disable_accelerated_2d_canvas:
So far these glitches only occur on some Intel graphics devices.
+qt.workarounds.disable_hangouts_extension:
+ type: Bool
+ default: false
+ backend: QtWebEngine
+ restart: true
+ desc: >-
+ Disable the Hangouts extension.
+
+ The Hangouts extension provides additional APIs for Google domains only.
+
+ Hangouts has been replaced with Meet,
+ which appears to work without this extension.
+
## auto_save
auto_save.interval:
diff --git a/qutebrowser/misc/pakjoy.py b/qutebrowser/misc/pakjoy.py
index c0e6b4d0c..f914a372a 100644
--- a/qutebrowser/misc/pakjoy.py
+++ b/qutebrowser/misc/pakjoy.py
@@ -208,6 +208,8 @@ def copy_webengine_resources() -> Optional[pathlib.Path]:
and versions.webengine < utils.VersionNumber(6, 5, 3)
and config.val.colors.webpage.darkmode.enabled
)
+ # https://github.com/qutebrowser/qutebrowser/issues/8257
+ or config.val.qt.workarounds.disable_hangouts_extension
):
# No patching needed
return None