解決JQuery MiniUI前端庫到期alert彈窗前端
MINIUI的到期提示是經過JS的Alert 方法彈出的。io
那麼咱們能夠不能夠截獲全部Alert方法,過濾文本。而後….大家懂得function
咱們只須要在頁面底部加入:方法
window.alert = function (e) { if (e != null && e.indexOf(「提示內容」)>-1) { //和諧了 } else { WinAlerts (e); }di
};co