// JavaScript Document
//锁鼠标右键和键盘CONTEXTMENU键和禁止另存为
 function click(e) { 
  if (document.all) { 
   if (event.button==2||event.button==3) { 
    oncontextmenu='return false'; 
   } 
  } 
 }

 document.onmousedown=click; 
 document.oncontextmenu = new Function("return false;") 