I’m trying to expand navigation options of the context menu on certain elements (specifically, h1 and h2 tags) I want to prevent the browser’s default action when right-clicking on those elements.
I found nice information at this page.
However, I couldn’t find how to disable the context menu for certain elements. Does someone know how to do it?
I’m using prototype as my javascript API.
This will prevent the context menu from appearing on a particular element
So, for example stop all H1/H2 tags from showing a context menu