diff options
author | w | 2018-07-30 09:15:51 +0200 |
---|---|---|
committer | w | 2018-07-30 09:15:51 +0200 |
commit | d647df14a86aea1dfb21cdba02d6d8e38421e7d9 (patch) | |
tree | 6e493fc52cddc311eeedbfb58112d157eafde45f /firefox-52-disable-location.services.mozilla.com.patch | |
parent | c417da3067614cb4481afd2bc3324f7fa1f9a0c1 (diff) | |
download | aur-firefox-esr-privacy.tar.gz |
Cleanup old files
Diffstat (limited to 'firefox-52-disable-location.services.mozilla.com.patch')
-rw-r--r-- | firefox-52-disable-location.services.mozilla.com.patch | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/firefox-52-disable-location.services.mozilla.com.patch b/firefox-52-disable-location.services.mozilla.com.patch deleted file mode 100644 index 42f25557ec75..000000000000 --- a/firefox-52-disable-location.services.mozilla.com.patch +++ /dev/null @@ -1,24 +0,0 @@ ---- firefox-45.0esr.bak/toolkit/components/search/nsSearchService.js 2016-03-13 -+++ firefox-45.0esr/toolkit/components/search/nsSearchService.js 2016-03-13 -@@ -436,6 +436,10 @@ - return; - } - -+ // Prevent Firefox from contacting location.services.mozilla.com on a new profile -+ Services.prefs.setCharPref("browser.search.region", "US"); -+ return; -+ - // If we have 'isUS' but no 'countryCode' then we are almost certainly - // a profile from Fx 34/35 that set 'isUS' based purely on a timezone - // check. If this said they were US, we force region to be US. -@@ -522,6 +526,10 @@ - countryCode = Services.prefs.getCharPref("browser.search.countryCode"); - } catch(e) {} - -+ // No countryCode set, use US as default, don't contact location.services.mozilla.com -+ Services.prefs.setCharPref("browser.search.countryCode", "US"); -+ return; -+ - if (!countryCode) { - // We don't have it cached, so fetch it. fetchCountryCode() will call - // storeCountryCode if it gets a result (even if that happens after the |