<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:gml="http://www.opengis.net/gml"
	>
<channel>
	<title>Comments on: Does your browser evaluate the Javascript of innerHTML?</title>
	<atom:link href="http://highearthorbit.com/does-your-browser-evaluate-the-javascript-of-innerhtml/feed/" rel="self" type="application/rss+xml" />
	<link>http://highearthorbit.com/does-your-browser-evaluate-the-javascript-of-innerhtml/</link>
	<description>Transmitting ideas, observations, and images from 42,000 km.</description>
	<lastBuildDate>Tue, 07 Feb 2012 14:15:16 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9-rare</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: palmerabollo</title>
		<link>http://highearthorbit.com/does-your-browser-evaluate-the-javascript-of-innerhtml/comment-page-1/#comment-272976</link>
		<dc:creator>palmerabollo</dc:creator>
		<pubDate>Fri, 11 Sep 2009 12:11:48 +0000</pubDate>
		<guid isPermaLink="false">http://highearthorbit.com/does-your-browser-evaluate-the-javascript-of-innerhtml/#comment-272976</guid>
		<description>What I&#039;ve done based on Maulin code:

&lt;code&gt;
	try {
		var re = /(.+?)/gim;
		while (matches = re.exec(html))
		{
			eval(matches[2]);
		}
	} catch (e) {
	}
&lt;/code&gt;

Works if more than one script is found.</description>
		<content:encoded><![CDATA[<p>What I&#8217;ve done based on Maulin code:</p>
<p><code><br />
	try {<br />
		var re = /(.+?)/gim;<br />
		while (matches = re.exec(html))<br />
		{<br />
			eval(matches[2]);<br />
		}<br />
	} catch (e) {<br />
	}<br />
</code></p>
<p>Works if more than one script is found.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Maulin Shah</title>
		<link>http://highearthorbit.com/does-your-browser-evaluate-the-javascript-of-innerhtml/comment-page-1/#comment-7673</link>
		<dc:creator>Maulin Shah</dc:creator>
		<pubDate>Mon, 27 Feb 2006 05:27:31 +0000</pubDate>
		<guid isPermaLink="false">http://highearthorbit.com/does-your-browser-evaluate-the-javascript-of-innerhtml/#comment-7673</guid>
		<description>woops, i mean:

&lt;blockquote&gt;
&lt;code&gt;
scriptFragment = &#039;(?:)((\n&#124;.)*?)(?:)&#039;;
	match = new RegExp(scriptFragment, &#039;im&#039;);
 //this will evaluate the first script in the returned text. 
// more than that won&#039;t work!
  var matches = dynamicText.match(match);
  if (matches.length &gt;= 2)
         eval(matches[1]);
&lt;/code&gt;
&lt;/blockquote&gt;</description>
		<content:encoded><![CDATA[<p>woops, i mean:</p>
<blockquote><p>
<code><br />
scriptFragment = '(?:)((\n|.)*?)(?:)';<br />
	match = new RegExp(scriptFragment, 'im');<br />
 //this will evaluate the first script in the returned text.<br />
// more than that won't work!<br />
  var matches = dynamicText.match(match);<br />
  if (matches.length &gt;= 2)<br />
         eval(matches[1]);<br />
</code>
</p></blockquote>
]]></content:encoded>
	</item>
	<item>
		<title>By: Maulin Shah</title>
		<link>http://highearthorbit.com/does-your-browser-evaluate-the-javascript-of-innerhtml/comment-page-1/#comment-7672</link>
		<dc:creator>Maulin Shah</dc:creator>
		<pubDate>Mon, 27 Feb 2006 05:22:05 +0000</pubDate>
		<guid isPermaLink="false">http://highearthorbit.com/does-your-browser-evaluate-the-javascript-of-innerhtml/#comment-7672</guid>
		<description>say dynamicText is the text that is returned... peering into the prototype.js library, i figured out you can do:

scriptFragment = &#039;(?:)((\n&#124;.)*?)(?:)&#039;;
match = new RegExp(scriptFragment, &#039;im&#039;);
  	        var matches = dynamicText.match(match);
     	        for(i=1; i</description>
		<content:encoded><![CDATA[<p>say dynamicText is the text that is returned&#8230; peering into the prototype.js library, i figured out you can do:</p>
<p>scriptFragment = &#8216;(?:)((\n|.)*?)(?:)&#8217;;<br />
match = new RegExp(scriptFragment, &#8216;im&#8217;);<br />
  	        var matches = dynamicText.match(match);<br />
     	        for(i=1; i</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: christian</title>
		<link>http://highearthorbit.com/does-your-browser-evaluate-the-javascript-of-innerhtml/comment-page-1/#comment-7384</link>
		<dc:creator>christian</dc:creator>
		<pubDate>Fri, 09 Dec 2005 11:23:10 +0000</pubDate>
		<guid isPermaLink="false">http://highearthorbit.com/does-your-browser-evaluate-the-javascript-of-innerhtml/#comment-7384</guid>
		<description>i have the same problem. it is very annoying and i don&#039;t know how i should code a workaround. do you got the answer????
please mail me back. 
THANKS</description>
		<content:encoded><![CDATA[<p>i have the same problem. it is very annoying and i don&#8217;t know how i should code a workaround. do you got the answer????<br />
please mail me back.<br />
THANKS</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ZildjianB</title>
		<link>http://highearthorbit.com/does-your-browser-evaluate-the-javascript-of-innerhtml/comment-page-1/#comment-7369</link>
		<dc:creator>ZildjianB</dc:creator>
		<pubDate>Mon, 07 Nov 2005 14:09:26 +0000</pubDate>
		<guid isPermaLink="false">http://highearthorbit.com/does-your-browser-evaluate-the-javascript-of-innerhtml/#comment-7369</guid>
		<description>I&#039;ve been wondering the samething.... ever come across the answer?</description>
		<content:encoded><![CDATA[<p>I&#8217;ve been wondering the samething&#8230;. ever come across the answer?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

