Why does the H5 positioning box always prompt in IOS?

clipboard.png

I have already clicked and disallowed to enter the page for the first time. Do you want to enter this page or play again next time? How did you get him to stop playing?


  1. permission management is included in the application, which forbids geographical location.
  2. H5, if you really want to ban it, ban the browser.

when the user chooses not to allow it, add an attribute to the sessionstorage. For example, before notAllowGetCurrentPosition:true
calls h5 to get the api of the location, look for notAllowGetCurrentPosition in the sessionstorage to determine whether the user has been disallowed to obtain the current location

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3e605-347bb.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3e605-347bb.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?