alert("暂时没有展示数据");
console.log("2020630")
显示如下:
多一个localhost:9527 显示,网上找了一些方法:
加入方法
window.alert = function(name){
var iframe = document.createElement("IFRAME");
iframe.style.display="none";
document.documentElement.appendChild(iframe);
window.frames[0].window.alert(name);
iframe.parentNode.removeChild(iframe);
}
显示如下:
怎么才能将此网页上的嵌入式页面显示这几个字隐藏,大家有谁遇到过这种情况,求解决???????
不能,这是浏览器自己的行为。
要么你就别用
alert
,自己写一个对话框。