搜索 | 用户支持

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

Learn More

Content Type "PDF file" Keeps Getting Added; Impossible to Preview in Firefox

  • 1 个回答
  • 2 人有此问题
  • 13 次查看
  • 最后回复者为 atlas_zero

more options

Awhile ago, Firefox stopped previewing or opening .pdf files correctly. Instead, it would always ask if I wanted to open or save the file. Selecting to open would just have the same result, and so on. This was regardless of if the file was local or on the internet.

So I went to Options>Applications and searched "pdf" and two results came up under Content Type. The first was "PDF file" which can only either "Always ask," "Save File," or open in a different program. The other was "Portable Document Format" which was set to "Preview in Firefox." I concluded the first Content Type was the problem, but I had no idea how to fix it. Eventually I tried refreshing Firefox, and this got rid of the problem temporarily.

It seems that this error keeps occurring after some time, and constantly having to refresh and change my settings is frustrating. This is a problem because I want to use Firefox to view pdf files without using 3rd party software. Your help is appreciated!

Awhile ago, Firefox stopped previewing or opening .pdf files correctly. Instead, it would always ask if I wanted to open or save the file. Selecting to open would just have the same result, and so on. This was regardless of if the file was local or on the internet. So I went to Options>Applications and searched "pdf" and two results came up under Content Type. The first was "PDF file" which can only either "Always ask," "Save File," or open in a different program. The other was "Portable Document Format" which was set to "Preview in Firefox." I concluded the first Content Type was the problem, but I had no idea how to fix it. Eventually I tried refreshing Firefox, and this got rid of the problem temporarily. It seems that this error keeps occurring after some time, and constantly having to refresh and change my settings is frustrating. This is a problem because I want to use Firefox to view pdf files without using 3rd party software. Your help is appreciated!

被采纳的解决方案

I found a solution after searching very thoroughly. Before I had tried things like editing or deleting mimeTypes.rdf from the profile folder, but it did not work. Finally read somewhere that Firefox must be closed in order for this to work.

If anyone ever has the same problem, try following the same steps so that you do not have to refresh:

1. Locate the Profiles folder. I found this by clicking the three bars in the tool bar, then the ? button at the bottom, then Troubleshooting Information, then Show Folder next to Profile Folder. Alternatively, you can reach Troubleshooting Information by hitting alt, selecting Help, then Troubleshooting Information; you can also type "about:support" in the address bar.

2. Close Firefox. Wouldn't work for me unless this was done.

3. Delete mimeTypes.rdf from the Profile Folder. You could also rename it something else in case you wanted this as a backup. Firefox will automatically make a new mimeTypes.rdf the next time you start it.

4. Start Firefox, go to "about:preferences#applications" by typing this in the address, and search for "pdf." The second content type was not there for me after doing this. Hopefully this works for others too.

定位到答案原位置 👍 0

所有回复 (1)

more options

选择的解决方案

I found a solution after searching very thoroughly. Before I had tried things like editing or deleting mimeTypes.rdf from the profile folder, but it did not work. Finally read somewhere that Firefox must be closed in order for this to work.

If anyone ever has the same problem, try following the same steps so that you do not have to refresh:

1. Locate the Profiles folder. I found this by clicking the three bars in the tool bar, then the ? button at the bottom, then Troubleshooting Information, then Show Folder next to Profile Folder. Alternatively, you can reach Troubleshooting Information by hitting alt, selecting Help, then Troubleshooting Information; you can also type "about:support" in the address bar.

2. Close Firefox. Wouldn't work for me unless this was done.

3. Delete mimeTypes.rdf from the Profile Folder. You could also rename it something else in case you wanted this as a backup. Firefox will automatically make a new mimeTypes.rdf the next time you start it.

4. Start Firefox, go to "about:preferences#applications" by typing this in the address, and search for "pdf." The second content type was not there for me after doing this. Hopefully this works for others too.