有少數情況因為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:
- 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. - 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.