
How can I 'hard code' a location that FireFox reports to sites (without using a plug-in)
I tried the method of using a plain text file with this:
{"location":{"latitude":48.861426,"longitude":2.338929, "accuracy":20.0}}
...and setting Geo.Wifi.uri to point to it. But it didn't work
I tried the method of using a plain text file with this:
{"location":{"latitude":48.861426,"longitude":2.338929, "accuracy":20.0}}
...and setting Geo.Wifi.uri to point to it. But it didn't work
All Replies (1)
I think you can only do that with an extension, but Geo locator no longer works because support for FUEL has been removed.
- Geolocater: https://addons.mozilla.org/firefox/addon/geolocater/
- TypeError: Cc['@mozilla.org/fuel/application;1'] is undefined
--
- https://developer.mozilla.org/en-US/docs/Mozilla/Tech/Toolkit_API/FUEL
- FUEL is deprecated as of Firefox 40 and removed as of Firefox 47. Consider using the Add-ons SDK instead