在js代码中加入下方代码即可控制页面中alert弹出框不再弹出。
window.alert = function() {
   return;
}

 

 
posted on 2021-08-06 12:17  wangchw  阅读(564)  评论(0编辑  收藏  举报