From a34a11b200e9212c0a24c1cb10f93539c163e224 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Thu, 27 Apr 2023 00:31:52 -0400 Subject: [PATCH] Remove a couple mozilla.org update URLs Fixes #3097 --- app/build.sh | 3 ++- app/fetch_xulrunner.sh | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/app/build.sh b/app/build.sh index 7f3293133a..8044b48ff3 100755 --- a/app/build.sh +++ b/app/build.sh @@ -205,7 +205,8 @@ prefs_file=defaults/preferences/zotero.js # # - network.captive-portal-service.enabled # Disable the captive portal check against Mozilla servers -egrep -v '(network.captive-portal-service.enabled)' defaults/preferences/firefox.js > $prefs_file +# - extensions.systemAddon.update.url +egrep -v '(network.captive-portal-service.enabled|extensions.systemAddon.update.url)' defaults/preferences/firefox.js > $prefs_file rm defaults/preferences/firefox.js # Combine app and "extension" Zotero prefs diff --git a/app/fetch_xulrunner.sh b/app/fetch_xulrunner.sh index b1e812f1c9..33601f13d3 100755 --- a/app/fetch_xulrunner.sh +++ b/app/fetch_xulrunner.sh @@ -127,6 +127,7 @@ function modify_omni { replace_line 'pref\("network.connectivity-service.enabled".+' 'pref("network.connectivity-service.enabled", false);' greprefs.js replace_line 'pref\("toolkit.telemetry.server".+' 'pref("toolkit.telemetry.server", "");' greprefs.js replace_line 'pref\("toolkit.telemetry.unified".+' 'pref("toolkit.telemetry.unified", false);' greprefs.js + replace_line 'pref\("media.gmp-manager.url".+' 'pref("media.gmp-manager.url", "");' greprefs.js # # # Disable transaction timeout