Created
January 21, 2019 17:22
-
-
Save heyMP/94ca77783022f7e8d543fb54e873f14d to your computer and use it in GitHub Desktop.
Listen for changes on the preventDefault property of events.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var oldEPD = Event.prototype.preventDefault; | |
Event.prototype.preventDefault = function() { | |
debugger; | |
oldEPD.call(this); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment