1

Is there a way to know if a user has already enabled location services for a domain in a web page script. This is for purpose of NOT showing a button "detect location" if the user has already pressed it once in the past.

4

1 回答 1

1

您需要设置一个带有值的cookie,并且基本上检查cookie是否存在,如果它不存在,那么您可以“检测位置”

于 2013-07-18T22:31:17.387 回答