From cf7c5a29eec520ef790b2568444ee903e95762eb Mon Sep 17 00:00:00 2001 From: StarPicard <8884658+StarPicard@users.noreply.github.com> Date: Sat, 31 Mar 2018 00:07:49 +0200 Subject: [PATCH 1/2] Create geolocation.json --- settings/geolocation.json | 42 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 settings/geolocation.json diff --git a/settings/geolocation.json b/settings/geolocation.json new file mode 100644 index 0000000..e29cca9 --- /dev/null +++ b/settings/geolocation.json @@ -0,0 +1,42 @@ +[ + { + "name": "geolocation", + "type": "choice", + "label": "Set Firefox geolocation. Note that in default mode it will leak your position to Google.", + "help_text": "", + "choices": [ + "Keep Defaults", + "Privacy Friendly", + "Disable" + ], + "initial": 1, + "addons": [ + [], + [], + [] + ], + "config": [ + { + }, + { + "geo.enabled": false, + "browser.search.geoSpecificDefaults": false, + "browser.search.geoSpecificDefaults.url": "", + "geo.wifi.uri": "https://location.services.mozilla.com/v1/geolocate?key=%MOZILLA_API_KEY%" + }, + { + "geo.enabled": false, + "browser.search.countryCode": "US", + "browser.search.region": "US", + "browser.search.geoip.url": "", + "intl.locale.requested"; "en-US", + "browser.search.geoSpecificDefaults": false, + "browser.search.geoSpecificDefaults.url": "", + "intl.accept_languages": "en-US, en", + "javascript.use_us_english_locale": true, + "intl.regional_prefs.use_os_locales": false, + "geo.wifi.uri": "https://location.services.mozilla.com/v1/geolocate?key=%MOZILLA_API_KEY%" + } + ] + } +] From 7c649b9171a23deccb3068d68a7073cd4c45cb24 Mon Sep 17 00:00:00 2001 From: StarPicard <8884658+StarPicard@users.noreply.github.com> Date: Sat, 31 Mar 2018 00:08:42 +0200 Subject: [PATCH 2/2] Update geolocation.json --- settings/geolocation.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/settings/geolocation.json b/settings/geolocation.json index e29cca9..f46ece1 100644 --- a/settings/geolocation.json +++ b/settings/geolocation.json @@ -29,7 +29,7 @@ "browser.search.countryCode": "US", "browser.search.region": "US", "browser.search.geoip.url": "", - "intl.locale.requested"; "en-US", + "intl.locale.requested": "en-US", "browser.search.geoSpecificDefaults": false, "browser.search.geoSpecificDefaults.url": "", "intl.accept_languages": "en-US, en",