delete alert jquery code example Example: jquery remove all alerts window.alert = function() {}; // or simply alert = function() {};