Hacker News new | ask | show | jobs
by Y_Y 499 days ago
I would also blame Firefox (or underlying Safari) for this. The browser shouldn't cede control to the page, even things like modifying the right-click menu are iffy and should be easy to override.
3 comments

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.

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?

On desktop shift+rightclick overrides context menu event handlers.
Tangent: In win10 when you right-click the menu is massive, it's the full height of the window not sure if that was a bug

Edit: menu as in "open link in new tab"