Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

Learn More

Make firefox use system-provided location

  • 3 답장
  • 1 이 문제를 만남
  • 12 보기
  • 최종 답변자: 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.

모든 댓글 (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.

글쓴이 cor-el 수정일시

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?

글쓴이 mvolf 수정일시

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.