performance - 如何禁用 IE8 脚本错误信息?

标签 performance internet-explorer internet-explorer-8 coded-ui-tests

我在 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 选项 > 高级选项卡 > 浏览
  • 选中“禁用脚本调试 (Internet Explorer)”复选框
  • 选中“禁用脚本调试(其他)”复选框
  • 取消选中“显示有关每个脚本错误的通知”复选框

  • 并且此消息仍然出现...

    有人可以在这里帮助我吗?

    最佳答案

    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/

    相关文章:

    html - IE下CSS/HTML::对齐和按钮问题

    IE8 Quirks 模式中忽略的 CSS 规则

    css - 需要一些帮助解决 IE8 中的 css 问题吗?

    javascript - 无法从 IE8 中的循环中获取值

    html - 使用换行符优化 html 页面加载

    jquery - IE 中的 prettyPhoto 无法正常工作

    选择/轮询与异步 I/O 的性能

    javascript - 尝试导航到另一个页面时 IE7 和 IE8 中出现 "Stop running this script"错误

    java - Java final 局部变量存储在哪里?

    android - 在 Android 中逐帧动画图像的最佳方式