javascript - how do i reset the geolocation service settings each time my page loads in HTML5 -


hi working on web page need permission user access location.

but according story. need make sure if particular user has selected deny on each page load need show him prompt saying

[website] want use computer's location shown in snapshot below: enter image description here

but on other hand if user has selected allow should not prompt anymore.

is there easy , straight forward way achieve functionality js or html5 settings ?

this not possible.

see: how make google maps request again location permissions?

the browser handles , once choice has been made, cannot reverse it. if site requires geolocation work, can check if permission given (see here: is there way check if geolocation has been declined javascript?) , if not, should change content or behaviour of site, users know what's going on.


Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -