Funkcjonalność tej witryny będzie ograniczona w czasie konserwacji. Jeśli artykuł nie rozwiązuje twojego problemu i chcesz zadać pytanie, to nasza społeczność wsparcia jest dostępna na @FirefoxSupport na Twitterze i /r/firefox na Reddicie.

Przeszukaj pomoc

Unikaj oszustw związanych z pomocą.Nigdy nie będziemy prosić Cię o dzwonienie na numer telefonu, wysyłanie SMS-ów ani o udostępnianie danych osobowych. Zgłoś podejrzaną aktywność, korzystając z opcji „Zgłoś nadużycie”.

Więcej informacji

how to view CSV files as plain text in firefox ?

  • 4 odpowiedzi
  • 0 osób ma ten problem
  • 1 wyświetlenie
  • Ostatnia odpowiedź od 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.

Wybrane rozwiązanie

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 ?

Przeczytaj tę odpowiedź w całym kontekście 👍 0

Wszystkie odpowiedzi (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.

Pomocne?

more options

Wybrane rozwiązanie

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 ?

Pomocne?

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.

Pomocne?

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.

Zmodyfikowany przez vande1 w dniu

Pomocne?

Zadaj pytanie

Aby odpowiadać na posty, musisz zalogować się na swoje konto. Zadaj pytanie, jeśli nie masz jeszcze konta.