mirror of
https://codeberg.org/librewolf/source.git
synced 2024-12-22 05:33:03 -05:00
18 lines
751 B
Diff
18 lines
751 B
Diff
|
--- a/toolkit/components/extensions/parent/ext-storage.js
|
||
|
+++ b/toolkit/components/extensions/parent/ext-storage.js
|
||
|
@@ -177,6 +177,14 @@ this.storage = class extends ExtensionAPI {
|
||
|
|
||
|
let data = await lookup;
|
||
|
if (!data) {
|
||
|
+ const assetsBootstrapLocation = Services.prefs.getBoolPref("librewolf.uBO.assetsBootstrapLocation", undefined);
|
||
|
+ if (extension.id == "uBlock0@raymondhill.net" && assetsBootstrapLocation) {
|
||
|
+ return {
|
||
|
+ adminSettings: {
|
||
|
+ assetsBootstrapLocation
|
||
|
+ }
|
||
|
+ }
|
||
|
+ }
|
||
|
return Promise.reject({
|
||
|
message: "Managed storage manifest not found",
|
||
|
});
|