2023-05-11 05:51:36 -05:00
|
|
|
diff --git a/toolkit/components/extensions/Extension.jsm b/toolkit/components/extensions/Extension.jsm
|
|
|
|
index 7281518..322dc09 100644
|
2021-11-20 01:31:09 -05:00
|
|
|
--- a/toolkit/components/extensions/Extension.jsm
|
|
|
|
+++ b/toolkit/components/extensions/Extension.jsm
|
2023-05-11 05:51:36 -05:00
|
|
|
@@ -3286,6 +3286,16 @@ class Extension extends ExtensionData {
|
|
|
|
this.permissions.add(PRIVATE_ALLOWED_PERMISSION);
|
|
|
|
}
|
2021-11-20 01:31:09 -05:00
|
|
|
|
2023-05-11 05:51:36 -05:00
|
|
|
+ // We allow uBo in private mode.
|
|
|
|
+ if (this.id === "uBlock0@raymondhill.net") {
|
|
|
|
+ lazy.ExtensionPermissions.add(this.id, {
|
|
|
|
+ permissions: [PRIVATE_ALLOWED_PERMISSION],
|
|
|
|
+ origins: [],
|
2021-11-20 01:31:09 -05:00
|
|
|
+ });
|
2023-05-11 05:51:36 -05:00
|
|
|
+ this.permissions.add(PRIVATE_ALLOWED_PERMISSION);
|
|
|
|
+ }
|
2021-11-20 01:31:09 -05:00
|
|
|
+
|
2023-05-11 05:51:36 -05:00
|
|
|
+
|
|
|
|
// 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)) {
|