<?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: 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></description>
	<pubDate>Tue, 06 Jan 2009 09:55:13 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: David Norris</title>
		<link>http://daryl.learnhouston.com/2005/03/31/firefox-extension-sidebar-removal/comment-page-1/#comment-1626</link>
		<dc:creator>David Norris</dc:creator>
		<pubDate>Wed, 31 Dec 1969 16:00:00 +0000</pubDate>
		<guid isPermaLink="false">#comment-1626</guid>
		<description> Seemingly this code seems to fail as of Firefox 1.5.  I believe they've changed the resource "urn:mozilla:extension:root" to "urn:mozilla:item:root" 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-page-1/#comment-1636</link>
		<dc:creator>Philip Chee</dc:creator>
		<pubDate>Wed, 31 Dec 1969 16:00:00 +0000</pubDate>
		<guid isPermaLink="false">#comment-1636</guid>
		<description> 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>
	<item>
		<title>By: James</title>
		<link>http://daryl.learnhouston.com/2005/03/31/firefox-extension-sidebar-removal/comment-page-1/#comment-1640</link>
		<dc:creator>James</dc:creator>
		<pubDate>Wed, 31 Dec 1969 16:00:00 +0000</pubDate>
		<guid isPermaLink="false">#comment-1640</guid>
		<description> 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-page-1/#comment-1671</link>
		<dc:creator>Sidd</dc:creator>
		<pubDate>Wed, 31 Dec 1969 16:00:00 +0000</pubDate>
		<guid isPermaLink="false">#comment-1671</guid>
		<description> 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-page-1/#comment-1691</link>
		<dc:creator>mcm</dc:creator>
		<pubDate>Wed, 31 Dec 1969 16:00:00 +0000</pubDate>
		<guid isPermaLink="false">#comment-1691</guid>
		<description> Type "chrome://mozapps/content/extensions/extensions.js" into the location bar, it's the code Firefox 1.5 uses to mark and read the extension'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: mcm</title>
		<link>http://daryl.learnhouston.com/2005/03/31/firefox-extension-sidebar-removal/comment-page-1/#comment-1694</link>
		<dc:creator>mcm</dc:creator>
		<pubDate>Wed, 31 Dec 1969 16:00:00 +0000</pubDate>
		<guid isPermaLink="false">#comment-1694</guid>
		<description> 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 == "Extension Name" &#38;&#38; data == "item-uninstalled")
    {
      //uninstall clean-up script
    }
  },

  register:function()
  {
    var observerService = Components.classes["@mozilla.org/observer-service;1"].getService(Components.interfaces.nsIObserverService);
    observerService.addObserver(this, "em-action-requested", false);
  },

  deregister:function()
  {
    var observerService = Components.classes["@mozilla.org/observer-service;1"].getService(Components.interfaces.nsIObserverService);
    observerService.removeObserver(this,"em-action-requested");
  }
};


Then just call "uninstallObserver.register();" on startup and "uninstallObserver.deregister();" 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>
</channel>
</rss>
