user.js

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 553d1aedde2818f0fa529fa33ad8c2bde29ffedf
parent 9ffc3b0d9adfb8cff27c8a36bbd3a1ffe3525142
Author: Thorin-Oakenpants <Thorin-Oakenpants@users.noreply.github.com>
Date:   Fri,  5 May 2017 19:11:44 +1200

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
Diffstat:
Muser.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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);