Hacker News new | ask | show | jobs
by marcosdumay 503 days ago
It's incredibly hard to decide what is a reasonable event to handle and what is "ceding control to the page".

Even more because for most of those events, handling just a handful of them is perfectly fine and will improve your experience in a web app. Sometimes even conditionally handling them all is still perfectly fine.

1 comments

Maybe I don't want my experience "improved". I have never been glad my scrollbar was hijacked, or that the behaviors of the "back" button was changed.
> I have never been glad my scrollbar was hijacked

Well, maybe not you, but almost everybody praises scroll to zoom in map applications.

> almost everybody praises scroll to zoom in map applications

In what sense is that true?