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.