X
Tap here to go to the mobile version of the site.

Support Forum

How do I stop Firefox from changing my PDF MIME setting from using Acrobat to view in-window to saving the file?

Posted

Firefox keeps reverting to "Save File" for Portable Document File. I want PDFs to open in-window, so I have to periodically keep going back into Options>Applications and change the MIME back to using Acrobat. After a few weeks, Firefox changes it back to Save File. Drives me nuts. How do I stop this permanently?

Firefox keeps reverting to "Save File" for Portable Document File. I want PDFs to open in-window, so I have to periodically keep going back into Options>Applications and change the MIME back to using Acrobat. After a few weeks, Firefox changes it back to Save File. Drives me nuts. How do I stop this permanently?
Quote

Additional System Details

Installed Plug-ins

  • Shockwave Flash 28.0 r0

Application

  • User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0

More Information

Tonnes
  • Top 25 Contributor
  • Locale Leader
202 solutions 1206 answers

Helpful Reply

The file containing the types may be corrupt for some reason. Have a look at the Change what Firefox does when you click on or download a file support article and remove the file called handlers.json in your profile folder.

Additionally, make sure there is no other software interfering with Firefox settings - the file could be reverted by some application.

The file containing the types may be corrupt for some reason. Have a look at the [[Change what Firefox does when you click on or download a file]] support article and remove the file called ''handlers.json'' in your [[Profiles - Where Firefox stores your bookmarks, passwords and other user data|profile folder]]. Additionally, make sure there is no other software interfering with Firefox settings - the file could be reverted by some application.
Was this helpful to you? 1
Quote

Question owner

Thanks. I've deleted the file and I'll see in the next few months if it works.

Thanks. I've deleted the file and I'll see in the next few months if it works.
Was this helpful to you?
Quote

Question owner

A little over two weeks and the MIME setting for PDF and Portable Document Format reverted to "Save File." Suggestions?

A little over two weeks and the MIME setting for PDF and Portable Document Format reverted to "Save File." Suggestions?
Was this helpful to you?
Quote
WestEnd
  • Top 10 Contributor
43 solutions 1371 answers

Screen shot of the error? It sounds more like a corrupted FF software and it can't see the right save option.

Screen shot of the error? It sounds more like a corrupted FF software and it can't see the right save option.
Was this helpful to you?
Quote

Question owner

WestEnd said

Screen shot of the error? It sounds more like a corrupted FF software and it can't see the right save option.

There's no "error," just randomly changes the MIME to "Save File" and saves to download location instead of opening in-window.

The top option for PDF is the option to "save file", the Portable Document Format is the option to use Acrobat. I changed the top to display the options. Both should be use Acrobat. Randomly both will revert to "save file."

''WestEnd [[#answer-1065613|said]]'' <blockquote> Screen shot of the error? It sounds more like a corrupted FF software and it can't see the right save option. </blockquote> There's no "error," just randomly changes the MIME to "Save File" and saves to download location instead of opening in-window. The top option for PDF is the option to "save file", the Portable Document Format is the option to use Acrobat. I changed the top to display the options. Both should be use Acrobat. Randomly both will revert to "save file."
Was this helpful to you?
Quote
Tonnes
  • Top 25 Contributor
  • Locale Leader
202 solutions 1206 answers

One possibility is to have a look at the time stamp for the handlers.json file and try to figure out or recall what happened then. The file should only be changed when modifying actions manually or at first instance for an unknown downloadable file type in Firefox (itself!), i.e. it could be 5 months old when nothing changed after setting it for the first time.

Is the time stamp more recent than the day you removed it and accepting a file type for the last time?
Do you still have a backup of the handlers.json file removed earlier, and can you put that back when Firefox is closed in order to verify this is the culprit (and some other application could have restored the file)?

Do you have any Adobe or other distributor’s software/plugin for handling PDF files installed that could restore this behavior? What does about:plugins<enter> say?

One possibility is to have a look at the time stamp for the ''handlers.json'' file and try to figure out or recall what happened then. The file should only be changed when modifying actions manually or at first instance for an unknown downloadable file type in Firefox (itself!), i.e. it could be 5 months old when nothing changed after setting it for the first time. Is the time stamp more recent than the day you removed it and accepting a file type for the last time?<br> Do you still have a backup of the handlers.json file removed earlier, and can you put that back when Firefox is closed in order to verify this is the culprit (and some other application could have restored the file)? Do you have any Adobe or other distributor’s software/plugin for handling PDF files installed that could restore this behavior? What does ''about:plugins''<enter> say?
Was this helpful to you?
Quote
cor-el
  • Top 10 Contributor
  • Moderator
15960 solutions 144283 answers

Firefox opens PDF files send as application/pdf in a tab and use the builtin PDF Viewer. If the server sends another MIME type or use content-disposition then Firefox will show the download dialog (Open with). Each automatic file action with a valid specific MIME type is stored in handlers.json. You can check the file in a text editor or drag to file in a Firefox tab to use the builtin JSON Viewer.

Firefox opens PDF files send as application/pdf in a tab and use the builtin PDF Viewer. If the server sends another MIME type or use content-disposition then Firefox will show the download dialog (Open with). Each automatic file action with a valid specific MIME type is stored in handlers.json. You can check the file in a text editor or drag to file in a Firefox tab to use the builtin JSON Viewer. *https://developer.mozilla.org/en/Tools/JSON_viewer
Was this helpful to you?
Quote
Ask a question

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.