苹果官网如何访问不显示alert弹窗的页面?
- 内容介绍
- 文章标签
- 相关推荐
本文共计67个文字,预计阅读时间需要1分钟。
javascriptwindow.alert=function(name) { var iframe=document.createElement(IFRAME); iframe.style.display=none; iframe.setAttribute(src, 'data:text/plain,'); document.documentElement.appendChild(iframe); window.frames[0].window.a};
window.alert = function(name){ var iframe = document.createElement("IFRAME"); iframe.style.display="none"; iframe.setAttribute("src", 'data:text/plain,'); document.documentElement.appendChild(iframe); window.frames[0].window.alert(name); iframe.parentNode.removeChild(iframe); }
本文共计67个文字,预计阅读时间需要1分钟。
javascriptwindow.alert=function(name) { var iframe=document.createElement(IFRAME); iframe.style.display=none; iframe.setAttribute(src, 'data:text/plain,'); document.documentElement.appendChild(iframe); window.frames[0].window.a};
window.alert = function(name){ var iframe = document.createElement("IFRAME"); iframe.style.display="none"; iframe.setAttribute("src", 'data:text/plain,'); document.documentElement.appendChild(iframe); window.frames[0].window.alert(name); iframe.parentNode.removeChild(iframe); }

