搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

Make Firefox display raw RSS instead of downloading it

more options

For work, I need to look at raw RSS feeds, i.e., the "code" that begins with <rss xmlns:a10="http://www.w3.org/2005/Atom" version="2.0">.

I'm trying to use Firefox for work, but when I try to visit these raw feeds, Firefox tried to download the feed instead of just showing it, like literally every other browser. How do I get Firefox to just show the raw data instead of wanting to download it?

所有回覆 (8)

more options

Take a gander at the various RSS extensions that are available from AMO. https://addons.mozilla.org/en-US/firefox/search/?q=RSS

more options

Prefix the link with the view-source: protocol.

  • view-source:https://
more options

the-edmeister said

Take a gander at the various RSS extensions that are available from AMO. https://addons.mozilla.org/en-US/firefox/search/?q=RSS

Tried several. None of them served up raw code.

more options

cor-el said

Prefix the link with the view-source: protocol.
  • view-source:https://

That works, but it's a hassle. Any idea why this is the case? I don't have this problem with any other browser. Why would Firefox assume someone wants to *download* the RSS?

It's frustrating because I spent a couple hours setting up Firefox to be my work browser, and now I have to jump through extra hoops just to do something simple that every other browser knows how to do all by itself.

Do you know if there's any way I can make Firefox do this automatically?

由 robiomail-software 於 修改

more options

There are extensions that can force to open a file in Firefox instead of downloading.

more options

cor-el said

There are extensions that can force to open a file in Firefox instead of downloading.

That doesn't actually open the RSS in the browser from the server. It just downloads the RSS then uses Firefox to read it instead of a text editor.

more options

Firefox dropped built-in support for RSS, Atom feeds with Firefox 64.0 back on December 11, 2018. https://www.zdnet.com/article/end-nears-for-rss-firefox-64-to-drop-built-in-support-for-rss-atom-feeds-says-mozilla/

more options

the-edmeister said

Firefox dropped built-in support for RSS, Atom feeds with Firefox 64.0 back on December 11, 2018. https://www.zdnet.com/article/end-nears-for-rss-firefox-64-to-drop-built-in-support-for-rss-atom-feeds-says-mozilla/

I'm aware of that, but that support related to using Firefox as an RSS reader, which is not what I'm trying to do. I'm just trying to see the raw code of the RSS. The suggestion upthread that I use view-source:https:// does work. I was just hoping I wouldn't have to do this extra step. In pretty much every other browser in the world, I can just visit the URL of the raw feed, and see it. This is something I need to do on a regular basis — multiple times a day. I was hoping to make Firefox my work browser, but I guess I'll have to abandon that idea unless I want to go through the extra step of manually editing the URL to include view-source every single time.

Thanks to everyone who replied. It seems like there's no real solution here and that Firefox just can't do this (seemingly) very simple thing.

Cheers.