2012年3月7日

可以不被浏览器拦截的弹出窗口

摘要: 一个强制弹出窗口的JavaScript类,存放在JS文件,直接一个函数调用即可,但是此弹出窗口不能自定义样式、宽、高等参数,部分高版本的浏览器已经能够拦截此窗口function ForceWindow (){ this.r = document.documentElement; this.f = document.createElement("FORM"); this.f.target = "_blank"; this.f.method = "post"; this.r.insertBefore(this... 阅读全文

posted @ 2012-03-07 14:00 魔GUI 阅读(296) 评论(0) 推荐(0)

导航