Photo of Nathan Shubert-Harbison Nathan Shubert-Harbison


Main content

Less creepy geolocation : Making it user initiated

You don’t have to dig too far into the HTML5 geolocation API before you find web developers asking the wrong question: how do you use the geolocation API without asking user permission?

Fortunately the geolocation API can’t be invoked without user permission, as mandated by the spec. I know I wouldn’t want web browsers sharing my exact location with any old website without my permission. But that leaves an…