magari torna utile ho risolto sfogliando un pò di guide di ajax:
codice:
<html xmlns = "http://www.w3.org/1999/xhtml" >
 <head>
 <meta http-equiv="content-type" content="text/html; charset=utf-8"> 
<link href="a.css" rel="stylesheet" type="text/css" media="screen, print" title="default" />
<title>Disabilitare il menu contestuale con Ajax</title>
 <script type="text/javascript">
 function disabilita(element) {
	element.oncontextmenu = function() {
	var testo = document.getElementById("prova");
	testo.innerHTML="ciao
";
	return false; 
}
}
 function getElement() {
	 disabilita(document.getElementById("prova")); 
} 
</script>
</head>
 <body onload="getElement()"> 
<div id="prova" class="test"></div> 
</body>
 </html>
e un piccolo css:
.test{
width: 100%;
height: 100%;
background-color: yellow;
}
ciao