Join the Mozilla’s Test Days event from 9–15 Jan to test the new Firefox address bar on Firefox Beta 135 and get a chance to win Mozilla swag vouchers! 🎁

Mozilla Support में खोजें

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

why firefox directly denied my localhost location request?

  • 1 प्रत्युत्तर दें
  • 1 यह समस्या है
  • 14 views
  • के द्वारा अंतिम प्रतियुतर 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?

All Replies (1)

more options

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