html allow pointer events through element code example Example: pointer events none javascript document.getElementById("id").style.pointerEvents = "none";