dom.event.contextmenu.enabled should be false by default (don't let web pages interfere with context menus by default)
Categories
(Core :: DOM: Events, defect, P5)
Tracking
()
People
(Reporter: csthomas, Unassigned)
References
Details
Comment 1•19 years ago
|
||
Comment 2•19 years ago
|
||
| Reporter | ||
Comment 3•19 years ago
|
||
Comment 5•19 years ago
|
||
Comment 6•19 years ago
|
||
Comment 7•19 years ago
|
||
Comment 8•19 years ago
|
||
Updated•16 years ago
|
Comment 9•12 years ago
|
||
Comment 10•12 years ago
|
||
Comment 11•12 years ago
|
||
Comment 12•12 years ago
|
||
Comment 13•8 years ago
|
||
Updated•3 years ago
|
Comment 14•2 years ago
|
||
We now have year 2023, and HTML5 apps with their own context menu haven’t really manifested. As popular examples go, it’s still largely Google Docs. This functionality likely also underused because these UX concepts don’t work on mobile. You either cannot right-click at all there, or it is too complicated to be really usable. So the common concept is rather some sort of a hamburger button providing access to additional functionality, either on a general basis or per item.
Which brings us back to the question: should this be on by default? Also: Firefox has an extensive per-website permission mechanism now which could be leveraged here. It doesn’t even need a new API, the permission prompt could show up as an icon in the address bar the first time a website attempts to prevent the context menu. This would allow the few websites using this feature legitimately to continue working as before.
Comment 15•2 years ago
|
||
(In reply to Wladimir Palant from comment #14)
We now have year 2023, and HTML5 apps with their own context menu haven’t really manifested.
Citation needed :)
Half of my pinned tabs have a custom right-click handler. But I don't think there's merit in discussing personal experiences or preferences, because the context menu event is part of the web platform per the UI Events specification.
If you want to argue for removal, I suggest you have that conversation at the standards body level.
Doing this successfully, is no easy feat though. Even if we knew this was completely unused in 99.9% of all web pages (we don't). You'd still be required to gather sufficient data and get buy-in from more than 2 browser engines.
Description
•