为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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于修改

有帮助吗?

我要提问

您需要登录才能回复。如果您还没账号,可以提出新问题