Uncaught TypeError: window.showModalDialog is not a function
时间:2019-06-10 20:40:22
收藏:0
阅读:768
if(window.showModalDialog == undefined){ window.showModalDialog = function(url,mixedVar,features){ window.hasOpenWindow = true; if(mixedVar) var mixedVar = mixedVar; if(features) var features = features.replace(/(dialog)|(px)/ig,"").replace(/;/g,‘,‘).replace(/\:/g,"="); window.myNewWindow = window.open(url,"_blank",features); } }
把这段代码加入控制台中
原文:https://www.cnblogs.com/godoforange/p/10999926.html
评论(0)