summaryrefslogtreecommitdiff
path: root/allow-ubo-private-mode.patch
blob: ef08f46a3c704a85ddf65b6efc547a6aed8ea2b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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