summaryrefslogtreecommitdiff
path: root/allow-ubo-private-mode.patch
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2022-05-24 22:23:52 -0400
committerB. Stack <bgstack15@gmail.com>2022-05-24 22:23:52 -0400
commit2e02bfdbb7f225e3619317be008f4429724003f9 (patch)
treef8c63b10b13f32db62785de2bd0fcc839ad9472b /allow-ubo-private-mode.patch
parentUpdated to 100.0.2 (diff)
downloadlibrewolf-fedora-ff-b100.0.2.tar.gz
librewolf-fedora-ff-b100.0.2.tar.bz2
librewolf-fedora-ff-b100.0.2.zip
librewolf 100.0.2 rc1b100.0.2
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