<?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"
	>
<channel>
	<title>Comments on: Extension Developers - Monitor Those Plugins</title>
	<atom:link href="http://starkravingfinkle.org/blog/2008/04/extension-developers-monitor-those-plugins/feed/" rel="self" type="application/rss+xml" />
	<link>http://starkravingfinkle.org/blog/2008/04/extension-developers-monitor-those-plugins/</link>
	<description></description>
	<pubDate>Wed, 20 Aug 2008 10:25:58 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
		<item>
		<title>By: Cweb</title>
		<link>http://starkravingfinkle.org/blog/2008/04/extension-developers-monitor-those-plugins/#comment-6129</link>
		<dc:creator>Cweb</dc:creator>
		<pubDate>Sat, 03 May 2008 23:54:22 +0000</pubDate>
		<guid isPermaLink="false">http://starkravingfinkle.org/blog/2008/04/extension-developers-monitor-those-plugins/#comment-6129</guid>
		<description>Hi Mark, I'm trying to find a way to use the Firefox and/or MSHTML API's (separately of course) to detect when the javascript engine has been loaded.  I thought you might have some pointers.  I really would prefer to use MSHTML since the main consumer is IE, but Mozilla would be fine too.

The situation is this - I have an HTML filter that cleans unsafe HTML and saves the 'safe' HTML separately.  Safe HTML means there is no executable script - script blocks, no CSS script, no events, no javascript:alert() URI's. 

I'd like to build a tool to automatically consume the safe HTML files and determine if they are script-free by loading the HTML into the browser, walking the DOM and identifying when script-execution might happen with or without user-interaction.  Do you know of any API for something like DoesScriptExistInThisPage() or another approach I should take?</description>
		<content:encoded><![CDATA[<p>Hi Mark, I&#8217;m trying to find a way to use the Firefox and/or MSHTML API&#8217;s (separately of course) to detect when the javascript engine has been loaded.  I thought you might have some pointers.  I really would prefer to use MSHTML since the main consumer is IE, but Mozilla would be fine too.</p>
<p>The situation is this - I have an HTML filter that cleans unsafe HTML and saves the &#8217;safe&#8217; HTML separately.  Safe HTML means there is no executable script - script blocks, no CSS script, no events, no javascript:alert() URI&#8217;s. </p>
<p>I&#8217;d like to build a tool to automatically consume the safe HTML files and determine if they are script-free by loading the HTML into the browser, walking the DOM and identifying when script-execution might happen with or without user-interaction.  Do you know of any API for something like DoesScriptExistInThisPage() or another approach I should take?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
