解决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.

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值