Remove a couple mozilla.org update URLs

Fixes #3097
This commit is contained in:
Dan Stillman 2023-04-27 00:31:52 -04:00
parent 2bc4c38f01
commit a34a11b200
2 changed files with 3 additions and 1 deletions

View file

@ -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

View file

@ -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