JSFiddle - React, Tailwind, and code Playground
by mitiya
JavaScript
$(document).ready(function(){
document.oncontextmenu = function() {return false;};
$(document).mousedown(function(e){
if( e.button == 0 ) {
console.info('Right mouse down!');
return false;
}
return true;
});
$(document).mouseup(function(e){
if( e.button == 0 ) {
console.info('Right mouse up!');
return false;
}
return true;
});
$(document).dblclick(function(e){
console.info('Right mouse 2k!');
return true;
});
});