how to fire an event when someone clicks anywhere on the screen javascript code example
Example: function click anywhere javascript
document.body.addEventListener('click', fn, true);
document.body.addEventListener('click', fn, true);