搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

why firefox directly denied my localhost location request?

  • 1 回覆
  • 1 有這個問題
  • 14 次檢視
  • 最近回覆由 philipp

more options

Hello, Why Firefox directly denied my localhost location service request and return permission denied error. I checked all of the settings and my localhost is not in block list. Also, Firefox is not detecting location service, it shows "No Blockable content detected on this page" while I clicked a ( i ) icon [on left-hand side of URL bar]. But, same localhost is executed perfectly on Microsoft Edge and Mircosoft Internet Explorer.

How to fix this? or how to add manually allow list for local host?

Hello, Why Firefox directly denied my localhost location service request and return permission denied error. I checked all of the settings and my localhost is not in block list. Also, Firefox is not detecting location service, it shows "No Blockable content detected on this page" while I clicked a ( i ) icon [on left-hand side of URL bar]. But, same localhost is executed perfectly on Microsoft Edge and Mircosoft Internet Explorer. How to fix this? or how to add manually allow list for local host?

所有回覆 (1)

more options

hi, the api is only made available to https sites: https://developer.mozilla.org/en-US/docs/Web/API/Geolocation