From b16649c00031b8c24bbe44a6891b1cc0939b87a6 Mon Sep 17 00:00:00 2001 From: ohfp <1813007-ohfp@users.noreply.gitlab.com> Date: Mon, 4 Jan 2021 23:18:23 +0100 Subject: Block some more undesired requests See https://gitlab.com/librewolf-community/browser/common/-/issues/10 --- PKGBUILD | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'PKGBUILD') diff --git a/PKGBUILD b/PKGBUILD index dfef50c..d66b6e7 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -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/* ./ } -- cgit