
HTML5 geolocation not working in Firefox 24+.
getCurrentLocation() method of navigator.geolocation is not working in firefox version 24 onwords (currently we are using version 26). You can hit "http://html5demos.com/geo" or any other demo which is using HTML5 geolocation. In an app the call navigator.geolocation.getCurrentPosition works on all major browsers (including Chrome, safari, etc) but not working with Firefox.
Ausgewählte Lösung
Thanks Philipp.... Finally got the solution... :) The solution is very simple, you just have to run firefox with administrator privileges (on Windows).
:) :) :)Diese Antwort im Kontext lesen 👍 2
Alle Antworten (4)
hello Extentia, i neither have a problem with firefox 24.2 ESR or firefox 26 to access the demo you've provided. what's happening exactly for you, are there any error messages?
Thanks for your quick response. Well I am neither getting any error nor success message. It stays in waiting mode even if you provide timeout. This issue continues from FF 24 till now. And if we degrades the FF to v 23 its working fine. See the attached screenshots of below demos,
- http://dglobaltech.com/html5-%E2%80%93-geolocation-api-live-demo/
- http://html5demos.com/geo
- http://www.w3schools.com/html/tryit.asp?filename=tryhtml5_geolocation_error
Please reply soon....
edit: fixed links (philipp)
Geändert am
but you did get prompted through the doorhanger panel in firefox to share your location on these sites before the screenshots were taken?
the only change in regards to geolocation from firefox 23 to 24 has been bug 883071, but that would probably only affect you if you were merely surrounded by wifis which names end in _nomap.
can you test if the same problem is happening in firefox safe mode or a new profile?
Ausgewählte Lösung
Thanks Philipp.... Finally got the solution... :) The solution is very simple, you just have to run firefox with administrator privileges (on Windows).
:) :) :)