IE 8 : Disabling the long-running-script message in Internet Explorer

1,058 views
Skip to first unread message

amine....@gmail.com

unread,
Dec 17, 2013, 4:58:55 AM12/17/13
to handso...@googlegroups.com
hello,
I have to load 8000 rows on handsontable. I use IE8

the IE browser displays this message four times:

Stop running this script?
A script on this page is causing your web browser to run slowly. If it continues to run, your computer might become unresponsive.

To reproduce the problem, you can test this page on IE 8: http://handsontable.com/demo/scroll.html

Microsoft Support :
http://support.microsoft.com/default.aspx?scid=kb;en-us;175500

This message displays when Internet Explorer reaches the maximum number of synchronous instructions for a piece of JavaScript. The default maximum (MaxScriptStatements) is 5,000,000 instructions, you can increase this number on a single machine by editing the registry.


The microsoft solution needs an upgrate of all user station. I have 500 user of the application. It's not possible to do this ..

how can i fix this ?


warpech

unread,
Dec 17, 2013, 5:10:10 AM12/17/13
to handso...@googlegroups.com, amine....@gmail.com
We are thinking about dropping support for IE8 because problems like that just eat time that could be devoted to implementing features. So upcoming 0.10.0 (and 0.10.x branch) may be the last version to fully support IE8. Our goal is to make it stable enough so those who need it may continue using it - but we will not add new features to it.

That said, I will take look at it and get back to you.

best regards
Message has been deleted

amine....@gmail.com

unread,
Dec 17, 2013, 5:37:28 AM12/17/13
to handso...@googlegroups.com, amine....@gmail.com
thank you Warpech .

I found this interresting post, but i dont have any idea how i make change on handsontable.js
http://stackoverflow.com/questions/4460263/disabling-the-long-running-script-message-in-internet-explorer

for information, the page http://handsontable.com/demo/scroll.html
is 0.10.0 but this version dont resolve the problem :(

best regards

Briansol

unread,
Mar 28, 2014, 11:56:37 AM3/28/14
to handso...@googlegroups.com, amine....@gmail.com
Did you ever come up with anything?  I get this from time to time.  I simply put an information box that if they get that box, click no to continue...

kmite...@gmail.com

unread,
Apr 4, 2014, 6:45:46 PM4/4/14
to handso...@googlegroups.com, amine....@gmail.com
Had a similar problem to this
where on IE 8 it kept jamming when loading a large amount of data, i tried everything .. then realized it was the rowHeight function

i.e.
WalkontableSettings.prototype.rowHeight = function(row, TD) {
.....// in this block it turns out the initial guess was damn good
var size = 23;
if (TD) ..go do some other stuff (this part takes time)
}

For my purposes simply returning a fixed value worked wonders
i.e.
WalkontableSettings.prototype.rowHeight = function(row, TD) {
return 23;

Reply all
Reply to author
Forward
0 new messages