title: Disable Firefox's silly right click context menu
body: <p>I am making an HTML 5 game which requires the use of right click to control the player.</p>
  
  <p>I have been able to disable the right click context menu by doing:</p>
  
  <pre><code>&lt;body oncontextmenu="return(false);"&gt;
  </code></pre>
  
  <p>Then it came to my attention that if you hold shift and right click, a context menu still opens in Firefox!</p>
  
  <p>So I disabled that by adding this JS as well:</p>
  
  <pre><code>document.onclick = function(e) { if(e.button == 2 || e.button == 3) { e.preventDefault(); e.stopPropagation(); return(false); } };
  </code></pre>
  
  <p>However, if you hold shift, and then double right click in Firefox it still opens!</p>
  
  <p>Please tell me how to disable this bloody thing once and for all (I'm even willing to revert to some obscure, hacky, and unpractical solution, as long as it works).</p>