//关闭当前页面
WindowLocationForHomeSearch: function () {
//window.close();
var browserName = navigator.appName;
if (browserName == "Netscape") {
open(location, '_self').close();
}
else {
if (browserName == "Microsoft Internet Explorer") {
window.opener = null;
window.open('', '_self');
window.close();
}
}
},

相关文章:

  • 2021-06-21
  • 2021-12-03
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-01
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-09-10
  • 2021-12-26
  • 2021-12-22
  • 2021-12-02
相关资源
相似解决方案