<?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:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Firefox Extension Sidebar Removal</title>
	<atom:link href="http://daryl.learnhouston.com/2005/03/31/firefox-extension-sidebar-removal/feed/" rel="self" type="application/rss+xml" />
	<link>http://daryl.learnhouston.com/2005/03/31/firefox-extension-sidebar-removal/</link>
	<description>Daryl&#039;s Personal Blog</description>
	<lastBuildDate>Sun, 12 Feb 2012 21:51:20 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: mcm</title>
		<link>http://daryl.learnhouston.com/2005/03/31/firefox-extension-sidebar-removal/#comment-872</link>
		<dc:creator><![CDATA[mcm]]></dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://daryl.wordpress.com/2005/03/31/firefox-extension-sidebar-removal#comment-872</guid>
		<description><![CDATA[Ok here is the code that should work ok on Firefox 1.5:

var uninstallObserver = {
  observe:function(subject,topic,data)
  {
    subject = subject.QueryInterface(Components.interfaces.nsIUpdateItem);

    if (subject.name == &quot;Extension Name&quot; &amp;&amp; data == &quot;item-uninstalled&quot;)
    {
      //uninstall clean-up script
    }
  },

  register:function()
  {
    var observerService = Components.classes[&quot;@mozilla.org/observer-service;1&quot;].getService(Components.interfaces.nsIObserverService);
    observerService.addObserver(this, &quot;em-action-requested&quot;, false);
  },

  deregister:function()
  {
    var observerService = Components.classes[&quot;@mozilla.org/observer-service;1&quot;].getService(Components.interfaces.nsIObserverService);
    observerService.removeObserver(this,&quot;em-action-requested&quot;);
  }
};


Then just call &quot;uninstallObserver.register();&quot; on startup and &quot;uninstallObserver.deregister();&quot; on shutdown.]]></description>
		<content:encoded><![CDATA[<p>Ok here is the code that should work ok on Firefox 1.5:</p>
<p>var uninstallObserver = {<br />
  observe:function(subject,topic,data)<br />
  {<br />
    subject = subject.QueryInterface(Components.interfaces.nsIUpdateItem);</p>
<p>    if (subject.name == &#8220;Extension Name&#8221; &amp;&amp; data == &#8220;item-uninstalled&#8221;)<br />
    {<br />
      //uninstall clean-up script<br />
    }<br />
  },</p>
<p>  register:function()<br />
  {<br />
    var observerService = Components.classes["@mozilla.org/observer-service;1"].getService(Components.interfaces.nsIObserverService);<br />
    observerService.addObserver(this, &#8220;em-action-requested&#8221;, false);<br />
  },</p>
<p>  deregister:function()<br />
  {<br />
    var observerService = Components.classes["@mozilla.org/observer-service;1"].getService(Components.interfaces.nsIObserverService);<br />
    observerService.removeObserver(this,&#8221;em-action-requested&#8221;);<br />
  }<br />
};</p>
<p>Then just call &#8220;uninstallObserver.register();&#8221; on startup and &#8220;uninstallObserver.deregister();&#8221; on shutdown.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James</title>
		<link>http://daryl.learnhouston.com/2005/03/31/firefox-extension-sidebar-removal/#comment-869</link>
		<dc:creator><![CDATA[James]]></dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://daryl.wordpress.com/2005/03/31/firefox-extension-sidebar-removal#comment-869</guid>
		<description><![CDATA[How do I iterrate over the installed extensions in 1.5?  This code does not seem to work.]]></description>
		<content:encoded><![CDATA[<p>How do I iterrate over the installed extensions in 1.5?  This code does not seem to work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sidd</title>
		<link>http://daryl.learnhouston.com/2005/03/31/firefox-extension-sidebar-removal/#comment-870</link>
		<dc:creator><![CDATA[Sidd]]></dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://daryl.wordpress.com/2005/03/31/firefox-extension-sidebar-removal#comment-870</guid>
		<description><![CDATA[Hi,

 I am doing a project in firefox 1.5 in Red Hat Linux to call a audio player from browser. I need a steps to create components necessary for it and also steps on how to access those components from JavaScript.

Bye,]]></description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p> I am doing a project in firefox 1.5 in Red Hat Linux to call a audio player from browser. I need a steps to create components necessary for it and also steps on how to access those components from JavaScript.</p>
<p>Bye,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mcm</title>
		<link>http://daryl.learnhouston.com/2005/03/31/firefox-extension-sidebar-removal/#comment-871</link>
		<dc:creator><![CDATA[mcm]]></dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://daryl.wordpress.com/2005/03/31/firefox-extension-sidebar-removal#comment-871</guid>
		<description><![CDATA[Type &quot;chrome://mozapps/content/extensions/extensions.js&quot; into the location bar, it&#039;s the code Firefox 1.5 uses to mark and read the extension&#039;s state flags in the extension manager and should give a clue how to modify the code to work in later versions of Firefox.]]></description>
		<content:encoded><![CDATA[<p>Type &#8220;chrome://mozapps/content/extensions/extensions.js&#8221; into the location bar, it&#8217;s the code Firefox 1.5 uses to mark and read the extension&#8217;s state flags in the extension manager and should give a clue how to modify the code to work in later versions of Firefox.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Norris</title>
		<link>http://daryl.learnhouston.com/2005/03/31/firefox-extension-sidebar-removal/#comment-867</link>
		<dc:creator><![CDATA[David Norris]]></dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://daryl.wordpress.com/2005/03/31/firefox-extension-sidebar-removal#comment-867</guid>
		<description><![CDATA[Seemingly this code seems to fail as of Firefox 1.5.  I believe they&#039;ve changed the resource &quot;urn:mozilla:extension:root&quot; to &quot;urn:mozilla:item:root&quot; and are no longer setting the toBeUninstalled attribute.

I wonder if you are aware of this problem and how to go about fixing it with Firefox 1.5.]]></description>
		<content:encoded><![CDATA[<p>Seemingly this code seems to fail as of Firefox 1.5.  I believe they&#8217;ve changed the resource &#8220;urn:mozilla:extension:root&#8221; to &#8220;urn:mozilla:item:root&#8221; and are no longer setting the toBeUninstalled attribute.</p>
<p>I wonder if you are aware of this problem and how to go about fixing it with Firefox 1.5.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Philip Chee</title>
		<link>http://daryl.learnhouston.com/2005/03/31/firefox-extension-sidebar-removal/#comment-868</link>
		<dc:creator><![CDATA[Philip Chee]]></dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://daryl.wordpress.com/2005/03/31/firefox-extension-sidebar-removal#comment-868</guid>
		<description><![CDATA[This code is not necessary for Firefox 1.5 since the sidebar uninstall bug has been fixed.]]></description>
		<content:encoded><![CDATA[<p>This code is not necessary for Firefox 1.5 since the sidebar uninstall bug has been fixed.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

