Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I click on a txt file I would like the browser to save it to the default download folder instead of opening it in the browser directly.

I have checked Options --> Applications to determine how the browser handles text/plain content types and beside "text document" it says "Save".

In the mimetypes.xml file under the current firefox profile, this entry refers to text/plain documents, so it should save the files automatically.

However it is still being opened directly in the browser. Is there a different setting that I need to change? I know with PDF files, firefox 18 or something came with a special pdfjs extension that overrides my own settings and had to be disabled in the configuration, but not sure if there is something sneaky like this for plaintxt files.

I tested it on links to txt files from http://www.textfiles.com/history/

I am using the latest version of Firefox.

share|improve this question
    
Closely related: superuser.com/questions/586719/… I also came here because of textfiles.com ! – Ciro Santilli 巴拿馬文件 六四事件 法轮功 Apr 23 '15 at 5:48

Simply right-click the link and Save Link as.

OR

Go to about:config page in Firefox, then set browser.altClickSave to true then you can force a download if you hold down the Alt key and left-click the link.

share|improve this answer
    
I want the browser to automatically download txt files, just like how it automatically downloads PDF files or MP3 files. – MxyL Aug 10 '13 at 14:57

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .