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.