Using chessboardjs.com.
Pressing a piece brings up the context menu.

Need to prevent this context menu appearing.
I tried this code:
$('.square-55d63').contextmenu(function(e){
e.preventDefault();
e.stopPropagation();
e.stopImmediatePropagation();
return false;
});
It does not work.
Any help would be appreciated.
You can use JS / jQuery only you the thing is to bind it to the document/window. Or wrap that element in your custom element. So you can block
contextmenuJquery example
JS example