為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

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

了解更多

how to view CSV files as plain text in firefox ?

  • 4 回覆
  • 0 有這個問題
  • 1 次檢視
  • 最近回覆由 vande1

more options

I am using Linux Mint with Firefox 127.0.2 (64-Bit)

In Preferences Applications, setting

 CSV-Dokument      to    open with firefox

opens edless new firefox Tabs - so I had to kill firefox. (setting CSV-Dokument to open with OpenOffice works fine. But this is not what I want.)

In Preferences Applications, I found further CSV types: application/csv-Typ CSV Document (application/text) CSV Document (octet/stream) CSV Document (application/x-download) Which applications should I use for them ?

I found the file "mimeTypes.rdf". However, I am not familiar with the syntax.

I am using Linux Mint with Firefox 127.0.2 (64-Bit) In Preferences Applications, setting '''CSV-Dokument ''' to ''' open with firefox''' opens edless new firefox Tabs - so I had to kill firefox. (setting '''CSV-Dokument ''' to '''open with OpenOffice''' works fine. But this is not what I want.) In Preferences Applications, I found further CSV types: application/csv-Typ CSV Document (application/text) CSV Document (octet/stream) CSV Document (application/x-download) Which applications should I use for them ? I found the file "mimeTypes.rdf". However, I am not familiar with the syntax.

被選擇的解決方法

thanks for the workaround using th prefix view-source: However, it's still pretty circuitous for me.

Is there no straight forward way using the firefox preferences or the file handlers.json ?

從原來的回覆中察看解決方案 👍 0

所有回覆 (4)

more options

If you open the CSV file via the address bar then you can prefix with the view-source: protocol.

If the file is downloaded from internet then maybe an extension helps.

有幫助嗎?

more options

選擇的解決方法

thanks for the workaround using th prefix view-source: However, it's still pretty circuitous for me.

Is there no straight forward way using the firefox preferences or the file handlers.json ?

有幫助嗎?

more options

Firefox can't handle this file format (file extension), that is why you get tab opening repeatedly when you try this. You can use view-source to override this and show the file as plain text, otherwise you need to rename the file and add a .txt file extension.

有幫助嗎?

more options

thanks for the explanation!

would it make sense to file an enhancement request, or have there already been plenty of internal discussions regarding this text file topic? I do like using firefox also as an (addl.) file browser.

由 vande1 於 修改

有幫助嗎?

問個問題

如果您還沒有帳號,您必須先登入帳號 來回覆文章。還沒有帳號的話,只能發問新問題