posted by MxyL 4 years ago
Changing the way browser handles txt files to directly download instead of previewing in browser

When I click on a URL that leads to a txt file, it is being previewed in the browser directly. I would like to change this so that it is downloaded automatically.

I checked how the application handles "Text Document" objects and it is set to "Save File", however the txt file is still being displayed directly.

The MIME Type is "text/plain", and seems to match the settings shown in mimetypes.rdf What do I do to make it so that txt files are downloaded automatically? Is there some setting similar to pdfjs that is overwriting my own content settings?

I am using firefox 22

↓ Show more ↑ Show less
  • All posts
  • Helpful Solutions
  • helpful
  • helpful
  • post