Sykje yn Support

Mij stipescams. Wy sille jo nea freegje in telefoannûmer te beljen, der in sms nei ta te stjoeren of persoanlike gegevens te dielen. Meld fertochte aktiviteit mei de opsje ‘Misbrûk melde’.

Mear ynfo

Dizze konversaasje is argivearre. Stel in nije fraach as jo help nedich hawwe.

Make firefox use system-provided location

  • 3 antwurd
  • 1 hat dit probleem
  • 3 werjeftes
  • Lêste antwurd fan cor-el

more options

Hello, is there a way to make Firefox 77.0.1 use system-provided location on Ubuntu 18.04?

When I use the gnome-maps program, I see a "gps" icon in top-right system status bar.

But when I use maps in Firefox, no system location request appears. Firefox just queries Mozilla Location Service on it's own (after setting geo.provider.network.url to https://location.services.mozilla.com/v1/geolocate?key=%MOZILLA_API_KEY%, there was Google (which was failing for some reason) originally), seen in browser console.

Hello, is there a way to make Firefox 77.0.1 use system-provided location on Ubuntu 18.04? When I use the gnome-maps program, I see a "gps" icon in top-right system status bar. But when I use maps in Firefox, no system location request appears. Firefox just queries Mozilla Location Service on it's own (after setting geo.provider.network.url to https://location.services.mozilla.com/v1/geolocate?key=%MOZILLA_API_KEY%, there was Google (which was failing for some reason) originally), seen in browser console.

Alle antwurden (3)

more options

The Firefox version from the Ubuntu repositories doesn't include the Mozilla Location Service Key used for the geolocation service, you can check that on the "Help -> Troubleshooting Information" (about:support) page.
You will have to use Firefox from the Mozilla server.

Bewurke troch cor-el op

more options

Yeah, I noticed that the key is missing, but that doesn't seem to be a problem - Firefox just sends "no-mozilla-api-key" instead of a key. I don't see any response in browser console (just 200 OK with no data, though content-length header is 77. maybe a bug?), but I'm located correctly. But that's completely unrelated to my question - how to use system location provider?

Bewurke troch mvolf op

more options

It is possible for a website to do a reverse DNS lookup of your IP to get your location.
This might be less accurate depending on the gateway your ISP uses.
Without this key it won't be possible to use this service (only the official build includes this key), so it is your choice: either keep using Firefox from the repositories without location service or switch to Firefox from the Mozilla server and have access to this service.