Search 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

HTML5 geolocation not working in Firefox 24+.

  • 4 replies
  • 29 have this problem
  • 36 views
  • Last reply by Extentia

more options

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.

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.

Chosen solution

Thanks Philipp.... Finally got the solution... :) The solution is very simple, you just have to run firefox with administrator privileges (on Windows).

:) :) :)
Read this answer in context 👍 2

All Replies (4)

more options

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?

more options

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,

  1. http://dglobaltech.com/html5-%E2%80%93-geolocation-api-live-demo/
  2. http://html5demos.com/geo
  3. http://www.w3schools.com/html/tryit.asp?filename=tryhtml5_geolocation_error

Please reply soon....

edit: fixed links (philipp)

Modified by philipp

more options

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?

more options

Chosen Solution

Thanks Philipp.... Finally got the solution... :) The solution is very simple, you just have to run firefox with administrator privileges (on Windows).

:) :) :)