Feeds:
Posts
Comments

Posts Tagged ‘geo’

Sick of geolocation not working (correctly) within Firefox? Want to set your location manually? Then this will help you.

Go to your about:config in Firefox and search for geo.wifi.uri. This is the URI to the Google service Firefox uses for geolocation. The good thing is you can change it to a static local file (or a script you made yourself on your web server, or whatever).

My value is: file:///home/bela/sys/firefox/location-vienna.json

The contents of location-vienna.json are:

{"location":{"latitude":48.213107,"longitude":16.359881,"accuracy":5000}}

(It’s the location of the main building of my university.)

Well that should work. Go to http://www.mozilla.com/firefox/geolocation/ and test it 🙂

Thanks to failedvegan.

Update: I found the official (?) documentation for this protocol.

Advertisements

Read Full Post »