Re:Ask HN: Why don't web apps make use of right click?
by p333347 on Wednesday September 21, 2016 @08:52AM
(#12547695)
It is bad form to block default UI,and it will only annoy and anger your users. The solution to this is to append your own menu to the default context menu. However, this cannot be done AFAIK. Probably a standard that allows that would be something worthy of consideration. So the only way to deal with this is custom UI elements. (As a Windows desktop developer moving to web development, I was quite dismayed that I couldn't simply get menu handle and append. In general, moving to straight jacketed webapps from desktop background where almost everything was possible was quite frustrating and painful.)
[ Parent
| on HN ]
Re:Ask HN: Why don't web apps make use of right click?
by jklein11 on Wednesday September 21, 2016 @02:16PM
(#12550789)
It looks like you can extend the context menu of chrome[1], safari[2], IE[3], and firefox[4].
1.https://developer.chrome.com/extensions/contextMenus 2.https://developer.apple.com/library/content/documentation/To... 3.https://msdn.microsoft.com/en-us/library/aa753589(v=vs.85).a... 4.https://developer.mozilla.org/en-US/Add-ons/SDK/Tutorials/Ad...