Skip to content
On this page

Enable Rightclick

js
javascript: (function () {
  function R(a) {
    ona = ' on' + a;
    if (window.addEventListener)
      window.addEventListener(
        a,
        function (e) {
          for (var n = e.originalTarget; n; n = n.parentNode) n[ona] = null;
        },
        true
      );
    window[ona] = null;
    document[ona] = null;
    if (document.body) document.body[ona] = null;
  }
  R('contextmenu');
  R('click');
  R('mousedown');
  R('mouseup');
  R('selectstart');
  R('copy');
})();
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22

References

The code above was copied from the following page: