ckorski
7/22/2015 - 8:33 PM

find out where the alert is raised/triggered from From http://stackoverflow.com/questions/7808665/how-to-find-out-where-the-alert-is-raised-

var old = alert;

alert = function() {
  console.log(new Error().stack);
  old.apply(window, arguments);
};