為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Firefox stopped opening local pdf files in preview

more options

Hello,

For some reason Firefox stopped opening local pdf files in the browser preview and started opening window with options to pick a local pdf view, to download pdf etc. It happens I explicitly try to open local pdf files using 'open with' option and picking Firefox - it just doesn't show them inside browser itself.

At the same time, the pdf files from the internet are previewed perfectly fine (for example, when I go to Google Scholar, Firefox previews a pdf inside the browser itself).

What could be the reason? I really need to view local pdf files inside the browser.

Hello, For some reason Firefox stopped opening local pdf files in the browser preview and started opening window with options to pick a local pdf view, to download pdf etc. It happens I explicitly try to open local pdf files using 'open with' option and picking Firefox - it just doesn't show them inside browser itself. At the same time, the pdf files from the internet are previewed perfectly fine (for example, when I go to Google Scholar, Firefox previews a pdf inside the browser itself). What could be the reason? I really need to view local pdf files inside the browser.

所有回覆 (3)

more options

Read this link help https://support.mozilla.org/en-US/kb/view-pdf-files-firefox-without-downloading-them .

I think it may help you. If it can't help please reply us. thank you sir.

more options

Dear Proma Chowdhury,

Thank you very much for your reply. Unfortunately, the information on the page didn't solve my issue.

First, I tried to change from 'Preview in Firefox' to 'Use Adobe Acrobat' against 'Portable Document Format (PDF)' in Applications. Now Firefox does use Acrobat inside itself instead of Preview (when viewing PDFs from the internet), but still refuses to open local files inside itself, showing that downloading window.

Deleting mimetypes.rdf didn't bring any effect.

If it is relevant: I first stumbled across this problem because I use Zotero plugin for Firefox which is an accumulator for various articles and papers. Usually, in this plugin one can open a paper, and it would be opened in Firefox itself. But now something happenned, and Firefox does not do so anymore, suggesting to download the paper or choose a local PDF viewer. Then I noticed that I can't open local PDFs in Firefox at all.

more options

How are you trying to open those saved PDF files?

File > Open File ... from within Firefox should work, when "Preview in Firefox" is set for the "Action" in Options > Applications.

Directly opening a PDF file from the file system folder where it is saved basically turns opening that file over to the operating system. bypassing Firefox.

As far as how Zotero might affect what you're having happen, I have no idea - never used Zotero. So you may want to check with Zotero support for help with that issue.