6

我使用IE8 CodedUI,並得到該錯誤消息:如何禁用IE8腳本錯誤信息?

 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. 取消選中「顯示關於每個腳本錯誤的通知」複選框

,仍然出現此消息...

誰能幫助我在這裏?

回答

8

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?