I'm using Konqueror 4.14.25 with KHTML engine and cannot disable the right click (the context menu). I've tried
document.addEventListener('contextmenu', function(event) { event.preventDefault() });
but it seems that the contextmenu event does not exist. Using webkit engine i am able to disable the right click! Due to the project tasks I am forced to use Konqueror browser with KHTML engine. Any idea how can I disable the right click?
After many unsuccessful combinations and tries I finally found one that should work:
Also
won't works. The reason is unknown. khtml does not recognize it.