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 geo.wifi.uri does not need to be a webservice. You can also set it to a local uri with file://...
The file should be a json file with content like this:
Update: For Firefox 9+, the format has changed:
Or you can combine them to support both:
Update: it looks like manually setting this preference is blocked by the provider assuming the Google service. See Bug 716453 Update 2: geo.wifi.uri not geo.wifi.url