Този сайт ще има ограничена функционалност, докато се извършва тече неговата поддръжка. Ако дадена статия не може реши проблема ви и искате да зададете въпрос, нашата общност е готова да ви помогне на @firefox в Twitter и /r/firefox в Reddit.

Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

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

  • 1 отговор
  • 2 имат този проблем
  • 3 изгледи
  • Последен отговор от 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.