mirror of
https://codeberg.org/librewolf/source.git
synced 2024-12-21 21:23:08 -05:00
17 lines
753 B
Diff
17 lines
753 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.getStringPref("librewolf.uBO.assetsBootstrapLocation", undefined);
|
|
+ if (extension.id == "uBlock0@raymondhill.net" && assetsBootstrapLocation) {
|
|
+ return {
|
|
+ adminSettings: {
|
|
+ assetsBootstrapLocation
|
|
+ }
|
|
+ }
|
|
+ }
|
|
return Promise.reject({
|
|
message: "Managed storage manifest not found",
|
|
});
|