<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Moggylaceous &#187; Firefox</title>
	<atom:link href="http://moggy.laceous.com/category/firefox/feed/" rel="self" type="application/rss+xml" />
	<link>http://moggy.laceous.com</link>
	<description>If nothing we do matters, then all that matters is what we do.</description>
	<lastBuildDate>Tue, 22 Jun 2010 02:12:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Disabling Feed Previews in Firefox 2</title>
		<link>http://moggy.laceous.com/2007/07/01/disabling-feed-previews-in-firefox-2/</link>
		<comments>http://moggy.laceous.com/2007/07/01/disabling-feed-previews-in-firefox-2/#comments</comments>
		<pubDate>Sun, 01 Jul 2007 23:54:54 +0000</pubDate>
		<dc:creator>moggy</dc:creator>
				<category><![CDATA[Firefox]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[feeds]]></category>

		<guid isPermaLink="false">http://moggy.laceous.com/2007/07/01/disabling-feed-previews-in-firefox-2/</guid>
		<description><![CDATA[One of the new features in Firefox 2 that really annoyed me was the new feed previewing option. Well, not really an option, but more of a forced option since there&#8217;s no easy built-in way to turn it off. In Firefox 1.5, web feeds looked like this: This tree view (with expandable/collapsible nodes) made it [...]]]></description>
			<content:encoded><![CDATA[<p>One of the new features in <a href="http://www.mozilla.com/en-US/firefox/">Firefox 2</a> that really annoyed me was the new feed previewing option.  Well, not really an option, but more of a <em>forced</em> option since there&#8217;s no easy built-in way to turn it off.</p>
<p>In Firefox 1.5, <a href="http://en.wikipedia.org/wiki/Web_feed">web feeds</a> looked like this:</p>
<p><a href="http://moggy.laceous.com/wp-content/uploads/2007/07/ff20feedtree.jpg" title="ff20feedtree.jpg"><img src="http://moggy.laceous.com/wp-content/uploads/2007/07/ff20feedtree.jpg" alt="ff20feedtree.jpg" /></a></p>
<p>This tree view (with expandable/collapsible nodes) made it really convenient for viewing XML files (and RSS feeds).  Fortunately, there is a way to re-enable this option in Firefox 2.</p>
<p>To achieve this, we&#8217;re gonna need to edit the <em>FeedConverter.js</em> file inside Firefox&#8217;s <em>components</em> folder.  On <a href="http://en.wikipedia.org/wiki/Microsoft_Windows">Windows</a> this should be located at <em>C:\Program Files\Mozilla Firefox\components\FeedConverter.js</em>.  On a <a href="http://en.wikipedia.org/wiki/Mac_OS_X">Mac</a> (OS X) this should be located at <em>/Applications/Firefox.app/Contents/MacOS/components/FeedConverter.js</em>.  Finally, on <a href="http://en.wikipedia.org/wiki/Linux">Linux</a>, this might be located at <em>/usr/lib/firefox-2.0.0.4/components/FeedConverter.js</em>.   (Note: this specific example is for PCLinuxOS 2007, and may vary slightly from distro to distro).</p>
<p>In the most recent version of Firefox, version 2.0.0.4, you&#8217;ll want to scroll down to about line 194 &amp; find the following:</p>
<pre>      // show the feed page if it wasn't sniffed and we have a document,
      // or we have a document, title, and link or id
      if (result.doc &amp;&amp; (!this._sniffed ||
          (result.doc.title &amp;&amp; (result.doc.link || result.doc.id)))) {
        // If there was no automatic handler, or this was a podcast,
        // photostream or some other kind of application, we must always
        // show the preview page...

        // Store the result in the result service so that the display page can
        // access it.
        feedService.addFeedResult(result);

        // Now load the actual XUL document.
        var chromeURI = ios.newURI(FEEDHANDLER_URI, null, null);
        chromeChannel = ios.newChannelFromURI(chromeURI, null);
        chromeChannel.originalURI = result.uri;
      }
      else
        chromeChannel = ios.newChannelFromURI(result.uri, null);

      chromeChannel.loadGroup = this._request.loadGroup;
      chromeChannel.asyncOpen(this._listener, null);
    }
    finally {
      this._releaseHandles();
    }
  },</pre>
<p>Just change the &#8220;if&#8221; line (here it&#8217;s actually on 2 lines)  to read:</p>
<pre>      if (0) {</pre>
<p>This code was originally found <a href="http://paulbaker.net/blog/archives/2006/10/howto_disable_firefox_2s_feed_preview.html">here</a>, and updated slightly to reflect the updates seen in the 2.0.0.4 FeedConverter.js file.</p>
]]></content:encoded>
			<wfw:commentRss>http://moggy.laceous.com/2007/07/01/disabling-feed-previews-in-firefox-2/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk (enhanced) (user agent is rejected)

Served from: moggy.laceous.com @ 2010-09-10 18:53:34 -->