From 1b73cb828ebb5ad38b0aea5b41b7b6a780994413 Mon Sep 17 00:00:00 2001 From: Thorin-Oakenpants Date: Wed, 10 May 2017 01:39:02 +1200 Subject: [PATCH] 0201: geo.wifi.uri --- user.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/user.js b/user.js index 2a534e9..4be1e10 100644 --- a/user.js +++ b/user.js @@ -70,12 +70,12 @@ user_pref("browser.shell.checkDefaultBrowser", false); /*** 0200: GEOLOCATION ***/ user_pref("ghacks_user.js.parrot", "0200 syntax error: the parrot's definitely deceased!"); -/* 0201: disable location-aware browsing ***/ +/* 0201: disable location-aware browsing, but enforce Mozilla's service over Google's ***/ 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.xhr.timeout", 1); // reset this if you use geolocation user_pref("geo.wifi.logging.enabled", false); // (hidden pref) user_pref("browser.search.geoip.url", ""); -user_pref("geo.wifi.xhr.timeout", 1); user_pref("browser.search.geoip.timeout", 1); /* 0202: disable GeoIP-based search results * [NOTE] may not be hidden if Firefox has changed your settings due to your locale