Basic geolocation API compatible with Firefox