HTML5 Geolocation will ask again after failure / failure

If the user rejects the HTML5 geolocation request for their location, is there a way to ask them again / call the permission request again?

I thought it might just be clearing a specific cookie, but it looks like it is a parameter that you need to specifically enter and remove from your browser settings.

+7
source share
1 answer

You need to either request a location from another domain, or provide instructions on how to enter your browser and change their settings. Like on the iPhone, how do you need to go into settings if you accidentally reject permission.

This is because the permission request is actually implemented based on the browser. You can imagine if geolocation was in IE6 days, IE6 would automatically accept it. Your decision should be based on the browser that someone is using.

+1
source

All Articles