【问题标题】:How to disable IE8 script error message?如何禁用 IE8 脚本错误消息?
【发布时间】:2012-03-14 13:20:11
【问题描述】:

我在 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 选项 > 高级选项卡 > 浏览

  1. 选中“禁用脚本调试 (Internet Explorer) 复选框
  2. 选中“禁用脚本调试(其他)复选框
  3. 取消选中“显示有关每个脚本错误的通知”复选框

并且这条消息仍然出现......

有人可以帮我吗?

【问题讨论】:

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


    【解决方案1】:

    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?

    【讨论】:

      猜你喜欢
      • 2013-10-26
      • 2013-01-05
      • 1970-01-01
      • 1970-01-01
      • 2013-03-18
      • 1970-01-01
      • 1970-01-01
      • 2011-06-15
      • 1970-01-01
      相关资源
      最近更新 更多