diff options
author | ohfp <1813007-ohfp@users.noreply.gitlab.com> | 2021-01-04 23:18:23 +0100 |
---|---|---|
committer | ohfp <1813007-ohfp@users.noreply.gitlab.com> | 2021-01-04 23:18:23 +0100 |
commit | b16649c00031b8c24bbe44a6891b1cc0939b87a6 (patch) | |
tree | 488654919e910e58dd840ee4c293078a44541da1 | |
parent | Improve the Flatpak build process (diff) | |
download | librewolf-linux-b16649c00031b8c24bbe44a6891b1cc0939b87a6.tar.gz librewolf-linux-b16649c00031b8c24bbe44a6891b1cc0939b87a6.tar.bz2 librewolf-linux-b16649c00031b8c24bbe44a6891b1cc0939b87a6.zip |
Block some more undesired requests
See https://gitlab.com/librewolf-community/browser/common/-/issues/10
-rw-r--r-- | PKGBUILD | 8 | ||||
-rwxr-xr-x | binary_tarball/scripts/3_Configure_Source_Code.sh | 6 |
2 files changed, 14 insertions, 0 deletions
@@ -153,6 +153,14 @@ fi # allow SearchEngines option in non-ESR builds sed -i 's#"enterprise_only": true,#"enterprise_only": false,#g' browser/components/enterprisepolicies/schemas/policies-schema.json + _settings_services_sed='s#firefox.settings.services.mozilla.com#f.s.s.m.c.qjz9zk#g' + + # stop some undesired requests (https://gitlab.com/librewolf-community/browser/common/-/issues/10) + sed "$_settings_services_sed" -i browser/components/newtab/data/content/activity-stream.bundle.js + sed "$_settings_services_sed" -i modules/libpref/init/all.js + sed "$_settings_services_sed" -i services/settings/Utils.jsm + sed "$_settings_services_sed" -i toolkit/components/search/SearchUtils.jsm + rm -f ${srcdir}/common/source_files/mozconfig cp -r ${srcdir}/common/source_files/* ./ } diff --git a/binary_tarball/scripts/3_Configure_Source_Code.sh b/binary_tarball/scripts/3_Configure_Source_Code.sh index 37a6ae5..7d8a12f 100755 --- a/binary_tarball/scripts/3_Configure_Source_Code.sh +++ b/binary_tarball/scripts/3_Configure_Source_Code.sh @@ -145,3 +145,9 @@ sed -z "$_cert_sed" -i toolkit/mozapps/extensions/internal/XPIInstall.jsm # allow SearchEngines option in non-ESR builds sed -i 's#"enterprise_only": true,#"enterprise_only": false,#g' browser/components/enterprisepolicies/schemas/policies-schema.json + +# stop some undesired requests (https://gitlab.com/librewolf-community/browser/common/-/issues/10) +sed "$_settings_services_sed" -i browser/components/newtab/data/content/activity-stream.bundle.js +sed "$_settings_services_sed" -i modules/libpref/init/all.js +sed "$_settings_services_sed" -i services/settings/Utils.jsm +sed "$_settings_services_sed" -i toolkit/components/search/SearchUtils.jsm |