logoalt Hacker News

croteyesterday at 8:36 AM4 repliesview on HN

I'm a bit confused about how it actually works, and somehow they decided to not include a demonstration video.

If clicking on it does trigger a location permission prompt: what's the point? The "issues" with prompts getting denied can already be solved by web developers doing this themselves, rather than just blindly firing off a request on page load.

If clicking on it does not trigger a location permission prompt: have we forgotten about the Line Of Death [0]? Clicking random website-styled elements should never result in dangerous actions being taken - and leaking the user's physical location is definitely dangerous. Sure, they are trying to restrict the styling, but that's a fools' errant: somebody will just make a browser game where the button looks to refer to something ingame, but actually leak your real-world location.

Besides, who's actually asking for this? Location is perhaps useful for Google Maps-like websites to save you a few seconds of scrolling, but in practice it has mostly been spammy websites trying to get me to "subscribe to local news". Making geolocation easier is the last thing I want in my browser!

[0]: https://textslashplain.com/2017/01/14/the-line-of-death/


Replies

rawlingyesterday at 8:51 AM

> The "issues" with prompts getting denied can already be solved by web developers doing this themselves

Does that mean identifying the browser and trying to tell the user how to go into the browser settings and un-block permission prompts?

show 1 reply
jeroenhdyesterday at 9:40 AM

You get prompted to supply your location just like normal.

Using geolocation on the web is not something I do daily, but I do use it every now and then. The "locate stores near me" button for looking up store closing times is a lot easier than manually panning across a map.

I find Chrome's current implementation (on Android) to be acceptable as long as measures are taken to prevent clickjacking and such to automate repeating prompts after denying permissions. I expect other browsers like Firefox to be more conservative in showing popups like that.

IshKebabyesterday at 11:13 AM

Presumably at some point they'll turn off script-triggered location access or make it less undesirable for sites in some way.