diff options
author | B. Stack <bgstack15@gmail.com> | 2022-05-24 22:23:52 -0400 |
---|---|---|
committer | B. Stack <bgstack15@gmail.com> | 2022-05-24 22:23:52 -0400 |
commit | 2e02bfdbb7f225e3619317be008f4429724003f9 (patch) | |
tree | f8c63b10b13f32db62785de2bd0fcc839ad9472b /custom-ubo-assets-bootstrap-location.patch | |
parent | Updated to 100.0.2 (diff) | |
download | librewolf-fedora-ff-2e02bfdbb7f225e3619317be008f4429724003f9.tar.gz librewolf-fedora-ff-2e02bfdbb7f225e3619317be008f4429724003f9.tar.bz2 librewolf-fedora-ff-2e02bfdbb7f225e3619317be008f4429724003f9.zip |
librewolf 100.0.2 rc1b100.0.2
Diffstat (limited to 'custom-ubo-assets-bootstrap-location.patch')
-rw-r--r-- | custom-ubo-assets-bootstrap-location.patch | 17 |
1 files changed, 17 insertions, 0 deletions
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", + }); |