微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

javascript – 如何完全禁用所有Internet Explorer脚本错误对话框

有人可以告诉我如何禁用Internet Explorer脚本错误 – 说:

An Error has occurred in the script on this page

   ...
   Error: Unspecified error
   ...

请不要说去工具 – > I.Options – >高级…关闭调试等等..

我已经尝试了所有这些,这个弹出对话框仍然出现.

一些论坛建议关闭一个叫做机器调试管理器(MDM)的服务,问题是我无法在我的Windows版本上运行这个服务.为什么?

System
   Windows XP
   Professional
   Version 2002 
   Service Pack 3

必须有一些方法可以完全关闭此对话框,以便它不会出现.我不介意删除整个注册表以使此停止.这就是我对它的沮丧.仅供参考,我在IE6上使用selenium RC运行自动测试时得到了这个.希望这足够的信息.非常感谢

解决方法:

关于MDM.exe:

从:
What To Do When . . . Your Browser Displays Script Error Warnings

Some, but not all, Windows users have the Mdm.exe file on their system.
This is the Machine Debug Manager, a program installed with the Microsoft Script Editor to provide support for program debugging. Users of Microsoft Office 2000 and above will have this program on their system. It also can be downloaded from the Windows Update Web site (update.microsoft.com).

Because the Mdm.exe file can be a source of script error warnings, you can disable it to prevent seeing more unnecessary messages.
You can use the Search tool (click Start and Search) to find the Mdm.exe file.
However, a quicker method to disable this program is to open the Run dialog Box (click Start and Run), type msconfig, and click OK.
This opens the System Configuration Utility dialog Box.

On the Startup tab, look for the Mdm.exe file on the list.
If it’s listed, deselect the corresponding checkBox. You will then need to restart your computer.

Don’t worry if the file isn’t listed on the Startup tab. Even if the Search tool found Mdm.exe on your system, you may never need to run this program.

注意:在同一篇文章中,还提到:

When turned on, Internet Explorer’s pop-up blocker tool can be a source of script error warnings.

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。

相关推荐