Sometimes it can be a true nightmare. They can even freeze your browser and let you wait forever unless you hit Ctr+Alt+Del.
The radical solution to this is creating the followin key value in the registry:
HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Styles\MaxScriptStatementsIf the "Styles" key is not there, create it too.
The "MaxScriptStatements" must be a DWORD type. (in regedit click "new"-->"DWORD value")
Enter a number between 10000 and, say, 50000. (in regedit rightclick on the MaxScriptStatements value and click "edit", select "decimal", enter the number of your choice)
The lower the number the more often the warning pops up. Setting it too low might be annoying.
I set it to 10000 and on some sites it's ok, but here, the forum became unusable so I may want to set it higher.
As for comparison, in absence of any entry, the default value is 5 million, which is simply insane.
Most of the time you can abort the script and it has no effect whatsoever on the content or even the functionality of the page, contrary to disabling scripts alltoghether.
You can let it run when you think it could be useful, eg: when the page has is not yet displayed completely because some content may be script generated. At the very worse, you refresh the page.
With this tweak browsing becomes all of a sudden a true pleasure. No more browser hanging up.
Pages appear almost instantly. If a script threathens to freeze your PC, it's at the mercy of your finger! You are back in control!
Thanks to JarC from the Maxthon forum.
Edited by Fredledingue, 27 October 2010 - 06:05 PM.