4 ms·
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. How
by p333347 10y ago
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.)
- jklein11 10y agoIt 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 https://developer.chrome.com/extensions/contextMenus 2.https://developer.apple.com/library/content/documentation/Tools/Conceptual/SafariExtensionGuide/AddingContextualMenuItems/AddingContextualMenuItems.html https://developer.apple.com/library/content/documentation/To... 3.https://msdn.microsoft.com/en-us/library/aa753589(v=vs.85).aspx https://msdn.microsoft.com/en-us/library/aa753589(v=vs.85).a... 4.https://developer.mozilla.org/en-US/Add-ons/SDK/Tutorials/Add_a_Context_Menu_Item https://developer.mozilla.org/en-US/Add-ons/SDK/Tutorials/Ad...
- p333347 10y agoYes but I was talking about a standard that doesn't depend on idiosyncrasies of different browsers and their ecosystems.