mui

var WinAlerts = window.alert;
 
window.alert = function (e) {
    if (e != null && e.indexOf("提示内容")>-1)
    { 
        //和谐了
    }
    else
    {
        WinAlerts (e);
    }
     
};    

  

原文地址:https://www.cnblogs.com/hpze2000/p/3232346.html