Avoid URLDecorationAnnotationsService errors on every network request

This commit is contained in:
Dan Stillman 2023-04-30 05:19:53 -04:00
parent 296c0142f2
commit 2dc5eecfac

View file

@ -125,6 +125,9 @@ function modify_omni {
}
if (!updateAuto) {' modules/UpdateService.jsm
# Prevent error during network requests
replace_line 'async lazyInit\(\) \{' 'async lazyInit() { if (this.features) return false;' modules/UrlClassifierExceptionListService.jsm
replace_line 'pref\("network.captive-portal-service.enabled".+' 'pref("network.captive-portal-service.enabled", false);' greprefs.js
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