It's unmaintained, and off-topic for this discussion, but the Luminous JS event blocker¹ was cool because it allowed blocking specific event handlers while still allowing JS to execute.
¹https://gbaptista.github.io/luminous/doc/en-US/