From 28132e774478bb632672ff04958b1cfc1a464da8 Mon Sep 17 00:00:00 2001 From: "B. Stack" Date: Sun, 3 Jul 2022 09:04:13 -0400 Subject: v102.0 rc1 --- custom-ubo-assets-bootstrap-location.patch | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 custom-ubo-assets-bootstrap-location.patch (limited to 'custom-ubo-assets-bootstrap-location.patch') diff --git a/custom-ubo-assets-bootstrap-location.patch b/custom-ubo-assets-bootstrap-location.patch new file mode 100644 index 0000000..81a703f --- /dev/null +++ b/custom-ubo-assets-bootstrap-location.patch @@ -0,0 +1,17 @@ +--- 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", + }); -- cgit