title: Re-enabling right-click on web page: "Void document oncontextmenu null" trick not working
body: <p>For testing purposes, I have disabled the right click function on a web page by adding the following JavaScript snippet code:</p>
  <p><code>document.addEventListener('contextmenu', event =&gt; event.preventDefault());</code></p>
  <p>So far, so good.</p>
  <p>Now, to re-enable the option using a code method, it is supposed to be enough to just type <code>javascript:void(document.oncontextmenu=null);</code> in the address bar of your Browser and press Enter. But this method seems not be working anymore. I do not know what is wrong with it and wonder if there is any similar alternative way, except toggling off JavaScript in Chrome?</p>