Is there a way of detecting whether a user has already given permission to use navigator.geolocation?
问题 Apart from setting a cookie the first time round, is there a way of detecting whether a user has already given permission for navigator.geolocation to return the lat/long of the browser? If there is, what is it and is it the same across all browsers or different across all browsers? This subject has been partially answered elsewhere According to GeoLocation API – Chrome / Safari – Permission management and Visual Differences, Chrome asks for a revokable one-time permission. I haven't finished