摘要: var body = document.getElementsByTagName('body')[0]; document.title = title; var iframe = document.createElement("iframe"); iframe.style.display="none"; iframe.setAttribute("src", "http://named.cn/pa... 阅读全文
posted @ 2016-10-25 11:31 lhy031 阅读(534) 评论(0) 推荐(0) 编辑
摘要: var userAgent = navigator.userAgent; if (userAgent.indexOf("Firefox") != -1 || userAgent.indexOf("Chrome") !=-1) { window.location.href="about:blank"; window.close(); } else { window.opener = nu... 阅读全文
posted @ 2016-10-25 09:55 lhy031 阅读(512) 评论(0) 推荐(0) 编辑