解決IE彈框提示“是否停止運行此腳本”問題


有少數情況因為js處理內容較多,系統計算標紅和刷新頁面較慢,IE可能會彈框提示“是否停止運行此腳本”,若想要繼續,點擊“否”即可。並同時按照下面的設置更改一下注冊表,即可解決彈框問題。

 

http://support.microsoft.com/kb/175500#top問題解決來源

 

修改:
1.打開注冊表,找到下位置HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Styles
2.找有"MaxScriptStatements"鍵名的注冊項,沒有則創建,值可以設置為"0xFFFFFFFF"

以上修改,ie8測試可行。

原文:

To change this time-out value in Internet Explorer versions 4.0 through 8, follow these steps:

    1. Using a Registry Editor such as Regedt32.exe, open this key:
      HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Styles

      Note If the Styles key is not present, create a new key that is called Styles.
    2. Create a new DWORD value called "MaxScriptStatements" under this key, and set the value to the desired number of script statements. If you are not aure about which value you need to set this to, you can set it to a DWORD value of 0xFFFFFFFF to avoid the dialog box.

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM