79105622

Date: 2024-10-19 18:17:49
Score: 0.5
Natty:
Report link

For those looking for a pure-JS solution to this problem, the following also works:

document.addEventListener("contextmenu", function (e) {
  e.preventDefault()
  e.stopPropagation()
  console.log("Stopped")
  return false;
});
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: bricksphd