# HG changeset patch # User Oleksandr Gavenko # Date 1387960966 -7200 # Node ID 8591a91d63f4b9cdc57386d59ed87a02fe4f2945 # Parent 1eeca3f2d9c94b88e20e5526b8caf5e5cdcc9044 Disable geo location. diff -r 1eeca3f2d9c9 -r 8591a91d63f4 firefox.rst --- a/firefox.rst Wed Dec 25 10:32:37 2013 +0200 +++ b/firefox.rst Wed Dec 25 10:42:46 2013 +0200 @@ -514,3 +514,17 @@ user_pref("services.sync.prefs.sync.browser.safebrowsing.enabled", false); user_pref("services.sync.prefs.sync.browser.safebrowsing.malware.enabled;false", false); +Disable geo location. +===================== +:: + + user_pref("geo.enabled", false); + +You can fake your location by JSON like:: + + {"location":{"latitude":48.861426,2.338929,"longitude":2.338929, "accuracy":20.0}} + +in file pointed by:: + + user_pref("geo.wifi.uri", "file:///home/user/fake-geo.json"); +