首页 > 技术文章 > mui

hpze2000 2013-08-02 13:04 原文

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

  

推荐阅读