How-to: Disable Firefox 2 RSS preview
As convienent as the Firefox 2 RSS preview may be to some, to others, the feature does nothing other than to hamper the process of subscribing to a websites / blogs content feed. The trick to removing the preview functionality integrated into the latest release of Firefox? A small code tweak to the FeedConverter.js file.
Windows users will find this file located at: ‘C:\Program Files\Mozilla Firefox\components\FeedConverter.js’
OS X users should look here: /Applications/Firefox.app/Contents/MacOS/components/FeedConverter.js’
If you’re scratching your head wondering how to get into the ‘Contents’ folder of an OS X application, simply CTRL+Click on an item and select ‘Show package contents’.
You’ll need to look near line 187 (using one of your favorite plain text editors) for the following block of code:
var chromeChannel;
if (result.doc) {
// 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.asyncOpen(this._listener, null);
}
Simply edit out the if (result.doc) to read if (0). Restart Firefox and your subscriptions will no longer be previewed using Firefox’s built-in results view. [via]


I like it and the background and colors make it easy to readn
Thanks so very much for taking your time to create this very useful and informative site. I have learned a lot from your site. Thanks!!
This hack has mysteriously stopped working on the new 2.0.0.13 release candidate (though the file to edit is still there with sniffed and all)
Can anyone figure out what’s changed? I can’t :-(
Just serfed in. Great site, guys!y