javascript使用window.open提示“已经计划系统关机”的原因

2019-12-21,,,

javascript调用window.open打开网站的时候,IE浏览器下报错:已经计划系统关机,提示如图:

百度找了下都是莫名其妙的自动好了,可以查看这个帖子:诡异的JS,已经计划系统关机错误。

于是改用谷歌搜索相关英文内容,serverfault.com上也有人碰到过这个问题,满意答案还比较靠谱:IE8 script error 800704a6?
复制代码 代码如下:
The only information I've been able to find on this error is from Josh Poley's MSDN blog.(这篇msdn上的文章已经不存在)
1190 0x800704A6 A system shutdown has already been scheduled. ERROR_SHUTDOWN_IS_SCHEDULED
However, the message implies that you get this when trying to schedule a shutdown. The only thing I can think of is that an installation/Windows update is waiting for a reboot.
You say that you can't see updates in Add/Remove programs - have you checked the "Show updates" option is checked?
Other posts that mention this error are similar in nature to yours.

主要说的是系统更新或者安装过相关的软件或者补丁,需要重启动后才能生效。所以上面那篇csdn的这个错误也是解决得莫名其妙了,应该是重启过电脑。

您可能感兴趣的文章:

  • javascript打开新窗口同时关闭旧窗口
  • javascript showModalDialog传值与FireFox的window.open 父子窗口传值示例
  • javascript弹出窗口 window.open使用方法以及参数说明分析篇
  • javascript 打开页面window.location和window.open的区别
  • javascript window.opener的用法分析
  • Flex调Javascript打开新窗口示例代码
  • javascript:window.open弹出窗口的位置问题
  • javascript window.open打开新窗口后无法再次打开该窗口问题的解决方法
  • Javascript中封装window.open解决不兼容问题
  • JavaScript中window.open用法实例详解
  • javascript中window.open在原来的窗口中打开新的窗口(不同名)

《javascript使用window.open提示“已经计划系统关机”的原因.doc》

下载本文的Word格式文档,以方便收藏与打印。