当前位置 : 主页 > 网络编程 > PHP >

苹果去掉alert网址

来源:互联网 收集:自由互联 发布时间:2021-06-28
gistfile1.txt 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.a
gistfile1.txt
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);
                    }
上一篇:phpExcel 操作示例
下一篇:TP5里的工具类
网友评论