![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
chrome
coco_ethan
Your rose,My love!
展开
-
Uncaught TypeError: window.showModalDialog is not a function chrome 谷歌浏览器
//新版本谷歌没有window.showModalDialog,创建一个window.openif(window.showModalDialog == undefined){ window.showModalDialog = function(url,mixedVar,features){ window.hasOpenWindow = true;转载 2017-08-01 10:53:31 · 3092 阅读 · 0 评论 -
谷歌浏览器Chrome不再支持showModalDialog的解决办法
2014年的某一天,chrome升级后,突然发现某个在用的系统不能弹出模态窗口了,查找各种资料后确认新版本(可能为Chrome 37+)确实把这个支持去掉了,有这么坑人的吗!?为避免大家少走弯路,特发布此文提供确认躺枪和解决办法。问题重现弹出窗口编码:var obj = new Object(); var retval = window.showModalDia转载 2017-08-01 11:03:18 · 6080 阅读 · 0 评论