Are there any easy ways to override the default behaviors of the geolocation api and just hard code your current location?
I think this would be useful for testing and for privacy reasons (providing fake location data)
I thought there was an add on for this but I can't seem to find one. Only option right now seems to be changing the about:config geo.wifi.url to some alternative webservice, which I consider overly complicated.
Any ideas?
Thanks
Ideal Scenario
Somebody implements an add-on where a google map appears and I can pick a new default location.
The easiest way is to navigate to about:config
and then in the filter box enter geo.wifi.uri
, double-click the only config row that shows up, and enter the value below after you replace xxx
and yyy
with the co-ordinates you get from a service like http://www.getlatlon.com/:
data:application/json,{"location":{"latitude":xxx,"longitude":yyy,"accuracy":10}}
This trick doesn't require any add-ons or local/hosted files. Make sure the value is without any spaces and is on a single line!