我在 IE8 上使用 CodedUI,并收到此错误消息:
Stop running this script?
A script on this page is causing your web browser to run slowly.
If it continues to run, your computer might become unresponsive.
我阅读了一些论坛并执行了以下操作:工具 > Internet 选项 > 高级选项卡 > 浏览
并且此消息仍然出现...
有人可以在这里帮助我吗?
最佳答案
IE 有一个注册表设置
Error message: "A script on this page is causing Internet Explorer to run slowly"
但这需要您更改每台客户端计算机和每个用户上的注册表。
但是,它将允许您运行脚本,以便您可以对其进行分析并找出导致延迟的原因。
也看看这个 SO 问题 How to mimic effects of MaxScriptStatements (i.e. prevent “A script on this page is causing Internet Explorer to run slowly”) without changing the registry?
关于performance - 如何禁用 IE8 脚本错误信息?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9702816/