可以让showModalDialog()来接管alert()方法,可以传入参数,再到url的页面调用window.alert = function(param) {
showModalDialog(url,param,option)
}