Hacker News new | ask | show | jobs
by trulyme 1666 days ago
This is infuriating on all UIs, but I haven't seen one that would implement a very obvious solution: if the area around click has changed in 100ms before the event, disregard the click. Either a webpage or a browser could do that.

I'm sure I'm not the first one to think of it, so there must be some reason why it isn't done - does anyone know why?

4 comments

> Either a webpage or a browser could do that.

The browser should do it. Websites often do this intentionally in order to trick users into clicking ads. The only way to stop these abuses is for the browser itself to stop enabling them.

Unfortunately Google would make the Gmail team very grumpy if they did this - Gmail's by far the worst offender in my experience. Every single time I open my email I have to remind myself to wait for a moment before clicking on my newest emails, because most of the time there's going to be a couple ad "emails" popping in and shuffling everything else down a few seconds after all the real emails have loaded.
Google's grumpiness is an excellent measure for how much we need a feature. The grumpier, the better. Other browsers should do it. Firefox, Safari, Brave, everyone else.
Maybe something that Firefox and Safari could implement then? :)
Great idea, although from an engineering POV I think this is really hard. Most websites are super JS-heavy and hence, from a browser's POV, change constantly. Quite a ton of difference between pixels on the screen changing and the underlying DOM changing.
FWIW, I've seen that suggestion a few times over the past 2--5 years or so.

You're likely not the first, but it's an excellent suggestion.

Yes, because it sux, in general. Maybe as an option.
If something changes within ~300ms before your click, the only way you'd be intentionally clicking whatever's there now is if you're amped up playing some online game
Now be my guest and define "something changes" please. You will see what I mean.

Gaming is exactly one of the problems and all those sites that lie on spectrum between news to gaming and utilize some aspect of dynamic presentation.