3 ms·
I tried https://developer.mozilla.org/en-US/docs/Web/API/Geolocation_API#Geolocation_Live_Example https://developer.mozilla.org/en-US/docs/Web/API/Geolocation..
by ataylor32 8y ago
I tried https://developer.mozilla.org/en-US/docs/Web/API/Geolocation_API#Geolocation_Live_Example https://developer.mozilla.org/en-US/docs/Web/API/Geolocation... in Firefox 66 on macOS and Windows. I got "Unable to retrieve your location" on macOS (though it worked in Chrome on macOS). It worked on Windows, though.
- cpeterso 8y agoOn macOS, does setting about:config "geo.provider.use_corelocation" = false and restarting Firefox fix the geolocation error? Firefox 65 or 66 recently changed from always using Google Location Service to first check the operating system's local location service (CoreLocation on macOS, which might have a local location cache for faster lookups). If disabling CoreLocation fixes the problem, you might look in macOS System Preferences for location permissions. The first time an application tries to use the local location service, macOS prompts the user to grant permission to the application. If you accidentally click "deny", then macOS will automatically deny all future Firefox location requests.