summaryrefslogtreecommitdiff
path: root/allow-ubo-private-mode.patch
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2022-03-24 10:51:40 -0400
committerB. Stack <bgstack15@gmail.com>2022-03-24 10:51:40 -0400
commit630002c8b3fc4c93cbf7d326eec3d0c4b18639a3 (patch)
tree456d58a02c5d3064a206b424fe8f9b57365d17a5 /allow-ubo-private-mode.patch
parentAdded 0001-GLIBCXX-fix-for-GCC-12.patch back due to gcc failure (diff)
downloadlibrewolf-fedora-ff-630002c8b3fc4c93cbf7d326eec3d0c4b18639a3.tar.gz
librewolf-fedora-ff-630002c8b3fc4c93cbf7d326eec3d0c4b18639a3.tar.bz2
librewolf-fedora-ff-630002c8b3fc4c93cbf7d326eec3d0c4b18639a3.zip
98.0 attempt 1
Diffstat (limited to 'allow-ubo-private-mode.patch')
-rw-r--r--allow-ubo-private-mode.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/allow-ubo-private-mode.patch b/allow-ubo-private-mode.patch
new file mode 100644
index 0000000..ef08f46
--- /dev/null
+++ b/allow-ubo-private-mode.patch
@@ -0,0 +1,18 @@
+--- a/toolkit/components/extensions/Extension.jsm
++++ b/toolkit/components/extensions/Extension.jsm
+@@ -2658,6 +2658,15 @@
+ this.permissions.add(PRIVATE_ALLOWED_PERMISSION);
+ }
+
++ if (this.id === "uBlock0@raymondhill.net") {
++ ExtensionPermissions.add(this.id, {
++ permissions: [PRIVATE_ALLOWED_PERMISSION],
++ origins: [],
++ });
++ this.permissions.add(PRIVATE_ALLOWED_PERMISSION);
++ }
++
++
+ // We only want to update the SVG_CONTEXT_PROPERTIES_PERMISSION during install and
+ // upgrade/downgrade startups.
+ if (INSTALL_AND_UPDATE_STARTUP_REASONS.has(this.startupReason)) {
bgstack15