<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: IE7 script madness</title>
	<atom:link href="http://www.itwriting.com/blog/119-ie7-script-madness.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.itwriting.com/blog/119-ie7-script-madness.html</link>
	<description>Tech writing blog</description>
	<lastBuildDate>Mon, 15 Mar 2010 01:35:51 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Thomasina Sluder</title>
		<link>http://www.itwriting.com/blog/119-ie7-script-madness.html/comment-page-1#comment-168908</link>
		<dc:creator>Thomasina Sluder</dc:creator>
		<pubDate>Fri, 05 Mar 2010 01:40:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.itwriting.com/blog/?p=119#comment-168908</guid>
		<description>Hi, I found this blog article while searching for help with JavaScript. I&#039;ve recently switched browsers from Google Chrome to IE. After the change I seem to have a issue with loading JavaScript. Everytime I browse site that needs Javascript, the site does not load and I get a &quot;runtime error javascript.JSException: Unknown name&quot;. I cannot seem to find out how to fix the problem. Any help is very appreciated! Thanks</description>
		<content:encoded><![CDATA[<p>Hi, I found this blog article while searching for help with JavaScript. I&#8217;ve recently switched browsers from Google Chrome to IE. After the change I seem to have a issue with loading JavaScript. Everytime I browse site that needs Javascript, the site does not load and I get a &#8220;runtime error javascript.JSException: Unknown name&#8221;. I cannot seem to find out how to fix the problem. Any help is very appreciated! Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Guido Tapia</title>
		<link>http://www.itwriting.com/blog/119-ie7-script-madness.html/comment-page-1#comment-168610</link>
		<dc:creator>Guido Tapia</dc:creator>
		<pubDate>Thu, 04 Mar 2010 02:00:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.itwriting.com/blog/?p=119#comment-168610</guid>
		<description>Hi Tim,

I have a solution to this here:
http://www.picnet.com.au/blogs/Guido/post/2010/03/04/How-to-prevent-Stop-running-this-script-message-in-browsers.aspx

It basically just breaks up long/expensive tasks into manageable chunks.  Works really well and stops those pesky &#039;stop running this script&#039; dialogs.

Thanks

Guido</description>
		<content:encoded><![CDATA[<p>Hi Tim,</p>
<p>I have a solution to this here:<br />
<a href="http://www.picnet.com.au/blogs/Guido/post/2010/03/04/How-to-prevent-Stop-running-this-script-message-in-browsers.aspx" rel="nofollow">http://www.picnet.com.au/blogs/Guido/post/2010/03/04/How-to-prevent-Stop-running-this-script-message-in-browsers.aspx</a></p>
<p>It basically just breaks up long/expensive tasks into manageable chunks.  Works really well and stops those pesky &#8217;stop running this script&#8217; dialogs.</p>
<p>Thanks</p>
<p>Guido</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Narsi</title>
		<link>http://www.itwriting.com/blog/119-ie7-script-madness.html/comment-page-1#comment-162316</link>
		<dc:creator>Narsi</dc:creator>
		<pubDate>Fri, 12 Feb 2010 11:28:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.itwriting.com/blog/?p=119#comment-162316</guid>
		<description>Hi, i also faced this issue,i overcome this issue by dividing the continues dom execution , for this i used setTimeout function,resolving this issue is completely depends on how you are dividing the continuous execution</description>
		<content:encoded><![CDATA[<p>Hi, i also faced this issue,i overcome this issue by dividing the continues dom execution , for this i used setTimeout function,resolving this issue is completely depends on how you are dividing the continuous execution</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brij</title>
		<link>http://www.itwriting.com/blog/119-ie7-script-madness.html/comment-page-1#comment-90144</link>
		<dc:creator>Brij</dc:creator>
		<pubDate>Tue, 22 Apr 2008 23:35:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.itwriting.com/blog/?p=119#comment-90144</guid>
		<description>today i found some weird thing when i was troubleshooting “Stop running this script” problem.
and i am not ready to accept the fact that i was getting this message due to a missing SPAN closing tag.

here is the html which was causing this problem.
&lt;a href=&quot;Annotations?line=15&amp;type=1&amp;recid=2&quot; rel=&quot;nofollow&quot;&gt;        
&lt;/a&gt;

this html is missing  before &lt;/a&gt;

after correcting it to below html i never got that message again.
&lt;a href=&quot;Annotations?line=15&amp;type=1&amp;recid=2&quot; rel=&quot;nofollow&quot;&gt;        
&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>today i found some weird thing when i was troubleshooting “Stop running this script” problem.<br />
and i am not ready to accept the fact that i was getting this message due to a missing SPAN closing tag.</p>
<p>here is the html which was causing this problem.<br />
<a href="Annotations?line=15&amp;type=1&amp;recid=2" rel="nofollow"><br />
</a></p>
<p>this html is missing  before </p>
<p>after correcting it to below html i never got that message again.<br />
<a href="Annotations?line=15&amp;type=1&amp;recid=2" rel="nofollow"><br />
</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: norman  jacobs</title>
		<link>http://www.itwriting.com/blog/119-ie7-script-madness.html/comment-page-1#comment-77856</link>
		<dc:creator>norman  jacobs</dc:creator>
		<pubDate>Fri, 07 Mar 2008 00:19:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.itwriting.com/blog/?p=119#comment-77856</guid>
		<description>I get this message after A few minutes on webshots no matter what type of pictures I am lookinf at. It eventually freezes up the Computer.</description>
		<content:encoded><![CDATA[<p>I get this message after A few minutes on webshots no matter what type of pictures I am lookinf at. It eventually freezes up the Computer.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim</title>
		<link>http://www.itwriting.com/blog/119-ie7-script-madness.html/comment-page-1#comment-5475</link>
		<dc:creator>Tim</dc:creator>
		<pubDate>Sun, 25 Feb 2007 18:52:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.itwriting.com/blog/?p=119#comment-5475</guid>
		<description>&gt; What should the value be and how do I set it?

The article says that the value defaults to 5,000,000. So I guess, you set it to less than that if you want the popups more often, or more than that if you want the popups less often.

Tim</description>
		<content:encoded><![CDATA[<p>> What should the value be and how do I set it?</p>
<p>The article says that the value defaults to 5,000,000. So I guess, you set it to less than that if you want the popups more often, or more than that if you want the popups less often.</p>
<p>Tim</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bob C</title>
		<link>http://www.itwriting.com/blog/119-ie7-script-madness.html/comment-page-1#comment-5473</link>
		<dc:creator>Bob C</dc:creator>
		<pubDate>Sun, 25 Feb 2007 17:40:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.itwriting.com/blog/?p=119#comment-5473</guid>
		<description>I, too am annoyed by this pop-up window.  Ordinarily, I would ignore it, but, indeed, my computer does seem to be slowing down.

So, I am trying to edit the HKEY_CURRENT_USER\Software\Microsoft\InternetExplorer\Styles key in the registry.  What value do you use to the desired number of script statements, and how, exactly (menu items, specific key actions) do you do this.

I feel like I am left high-and-dry when Micorsoft just says &quot;Create a new DWORD value called &quot;MaxScriptStatements&quot; under this key and set the value to the desired number of script statements&quot; and does not tell you how or what the value should be!

What should the value be and how do I set it?

HELP!</description>
		<content:encoded><![CDATA[<p>I, too am annoyed by this pop-up window.  Ordinarily, I would ignore it, but, indeed, my computer does seem to be slowing down.</p>
<p>So, I am trying to edit the HKEY_CURRENT_USER\Software\Microsoft\InternetExplorer\Styles key in the registry.  What value do you use to the desired number of script statements, and how, exactly (menu items, specific key actions) do you do this.</p>
<p>I feel like I am left high-and-dry when Micorsoft just says &#8220;Create a new DWORD value called &#8220;MaxScriptStatements&#8221; under this key and set the value to the desired number of script statements&#8221; and does not tell you how or what the value should be!</p>
<p>What should the value be and how do I set it?</p>
<p>HELP!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim</title>
		<link>http://www.itwriting.com/blog/119-ie7-script-madness.html/comment-page-1#comment-3867</link>
		<dc:creator>Tim</dc:creator>
		<pubDate>Sat, 10 Feb 2007 07:44:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.itwriting.com/blog/?p=119#comment-3867</guid>
		<description>&gt; Usually, if you have some script which is
&gt; taking that long to execute, there is 
&gt; probably an issue with how you are doing
&gt; things.

I agree; running tests is perhaps the main exception.

The IE case is worst, since the dialog pops up every second. However in all cases I reckon there should be a &quot;don&#039;t show again&quot; option of some kind, valid perhaps for the current session only. That would give the user an easy solution for those cases where she does want the operation to complete.

Incidentally I didn&#039;t see this on Flash 9 because my test completed in less than 20 seconds :-)

Tim</description>
		<content:encoded><![CDATA[<p>> Usually, if you have some script which is<br />
> taking that long to execute, there is<br />
> probably an issue with how you are doing<br />
> things.</p>
<p>I agree; running tests is perhaps the main exception.</p>
<p>The IE case is worst, since the dialog pops up every second. However in all cases I reckon there should be a &#8220;don&#8217;t show again&#8221; option of some kind, valid perhaps for the current session only. That would give the user an easy solution for those cases where she does want the operation to complete.</p>
<p>Incidentally I didn&#8217;t see this on Flash 9 because my test completed in less than 20 seconds <img src='http://www.itwriting.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Tim</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nathan Derksen</title>
		<link>http://www.itwriting.com/blog/119-ie7-script-madness.html/comment-page-1#comment-3832</link>
		<dc:creator>Nathan Derksen</dc:creator>
		<pubDate>Sat, 10 Feb 2007 00:40:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.itwriting.com/blog/?p=119#comment-3832</guid>
		<description>Flash actually does do this as well, and it is also through a pop-up. It is set to activate after 20 seconds of continuous processing within the same function. Code written in AS3 runs much faster within the new Flash virtual machine, so you are less likely to encounter the issue. With code targeting Flash 8 or earlier, this is not an uncommon problem when doing stuff such as loading large amounts of XML data to a data grid.

It is not practical to set the values on users machines, so you have to find ways around it. One way is to break it up using setInterval() to avoid having one long loop, so that it calls the same function but gives it a different block of data to work on. Usually, if you have some script which is taking that long to execute, there is probably an issue with how you are doing things. For instance, one common error is to add rows to a grid one at a time, which results in one complete grid redraw for each row. Much more efficient is to add rows to an array first, then assign the entire array to your grid component.

You can do code profiling with Firefox if you install the debugger extension (FireBug does this as well I believe). The profiler will tell you exactly how long each function is taking to run.</description>
		<content:encoded><![CDATA[<p>Flash actually does do this as well, and it is also through a pop-up. It is set to activate after 20 seconds of continuous processing within the same function. Code written in AS3 runs much faster within the new Flash virtual machine, so you are less likely to encounter the issue. With code targeting Flash 8 or earlier, this is not an uncommon problem when doing stuff such as loading large amounts of XML data to a data grid.</p>
<p>It is not practical to set the values on users machines, so you have to find ways around it. One way is to break it up using setInterval() to avoid having one long loop, so that it calls the same function but gives it a different block of data to work on. Usually, if you have some script which is taking that long to execute, there is probably an issue with how you are doing things. For instance, one common error is to add rows to a grid one at a time, which results in one complete grid redraw for each row. Much more efficient is to add rows to an array first, then assign the entire array to your grid component.</p>
<p>You can do code profiling with Firefox if you install the debugger extension (FireBug does this as well I believe). The profiler will tell you exactly how long each function is taking to run.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim</title>
		<link>http://www.itwriting.com/blog/119-ie7-script-madness.html/comment-page-1#comment-3740</link>
		<dc:creator>Tim</dc:creator>
		<pubDate>Fri, 09 Feb 2007 07:31:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.itwriting.com/blog/?p=119#comment-3740</guid>
		<description>Thanks Kristoffer - that&#039;s just what I needed.

That article didn&#039;t turn up when I Googled for some reason.

Tim</description>
		<content:encoded><![CDATA[<p>Thanks Kristoffer &#8211; that&#8217;s just what I needed.</p>
<p>That article didn&#8217;t turn up when I Googled for some reason.</p>
<p>Tim</p>
]]></content:encoded>
	</item>
</channel>
</rss>
