Reputation: 10701
I'm parsing a 2MB JSON string in IE8. The JSON.Parse
line is taking a little while to return and IE8 shows a message asking the user if they want to abort the script.
Is there any way I can suppress this message? (or somehow speed up JSON.Parse)
I know about Microsoft KB175500, however this is not suitable as my target users will not have administrator access to make the registry modifications on their SOE machines.
Upvotes: 1
Views: 5175
Reputation: 707456
If the browser is unhappy with how long the JSON parser is taking, there are only four choices here I know of:
Upvotes: 0
Reputation: 32227
I had this same question. Apparently there is no way to suppress the message, but there are tricks to make IE think it's still working by using an asynchronous iteration pattern (dead link, view comments below).
This comes from an answer to one of my questions: loop is too slow for IE7/8
Upvotes: 3