From 553d1aedde2818f0fa529fa33ad8c2bde29ffedf Mon Sep 17 00:00:00 2001 From: Thorin-Oakenpants Date: Fri, 5 May 2017 19:11:44 +1200 Subject: [PATCH] geo.wifi.uri - use mozilla_api_key not google's Instead of `geo.wifi.uri` using 127.0.0.1, for those who do use geo (`geo.enabled` is the master switch), enforce Mozilla's service over Google's. - Default in stable, beta: https://www.googleapis.com/geolocation/v1/geolocate?key=%GOOGLE_API_KEY% - Nightly defaults to mozilla (not usre of the exact string) - I do not know if this is a telemetry thing for mozilla for non-stable or if this will roll down from nightly --- user.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user.js b/user.js index 574487b..c93e7c7 100644 --- a/user.js +++ b/user.js @@ -72,7 +72,7 @@ user_pref("browser.shell.checkDefaultBrowser", false); user_pref("ghacks_user.js.parrot", "0200 syntax error: the parrot's definitely deceased!"); /* 0201: disable location-aware browsing ***/ user_pref("geo.enabled", false); -user_pref("geo.wifi.uri", "https://127.0.0.1"); +user_pref("geo.wifi.uri", "https://location.services.mozilla.com/v1/geolocate?key=%MOZILLA_API_KEY%"); user_pref("geo.wifi.logging.enabled", false); // (hidden pref) user_pref("browser.search.geoip.url", ""); user_pref("geo.wifi.xhr.timeout", 1);