Skip to content

EventStopper #39

@0x04

Description

@0x04

Create a repository for this

(function() {

  var handler = function(event) {
    event.stopImmediatePropagation();
    event.preventDefault();
  };

  for (var n in window) {
    if (/^on/.test(n)) {
      window.addEventListener(n.substr(2), handler, true);
    }
  }

})();

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions