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 foundMdm.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.
标签:javascript,selenium,internet-explorer,internet-explorer-6 来源: https://codeday.me/bug/20190730/1584574.html