Created
February 19, 2019 19:17
-
-
Save adover/019aeb6255e0cb2c68d9a0b37809c7dc to your computer and use it in GitHub Desktop.
Finding pesky alerts
This file contains hidden or 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 old = alert; | |
alert = function() { | |
console.log(new Error().stack); | |
old.apply(window, arguments); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment