搜尋 Mozilla 技術支援網站

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

了解更多

PDF viewer in tab

  • 5 回覆
  • 1 有這個問題
  • 2 次檢視
  • 最近回覆由 cor-el

more options

When I go to a web page which is a PDF, the web page used to load as a PDF. Now there are 2 tabs, one is blank and has an address which refers to the PDF location, and the other is a PDF saved to the Temp folder (eg. file:///C:/Users/USER/AppData/Local/Temp/some_PDF.pdf)

My preference is: www.some_website/some_PDF.pdf

This is because I save the tabs, and the next time I use Firefox, the temporary PDF is not loaded anymore. As well, I prefer 1 tab instead of 2.

Where is the setting to adjust?

When I go to a web page which is a PDF, the web page used to load as a PDF. Now there are 2 tabs, one is blank and has an address which refers to the PDF location, and the other is a PDF saved to the Temp folder (eg. file:///C:/Users/USER/AppData/Local/Temp/some_PDF.pdf) My preference is: www.some_website/some_PDF.pdf This is because I save the tabs, and the next time I use Firefox, the temporary PDF is not loaded anymore. As well, I prefer 1 tab instead of 2. Where is the setting to adjust?

被選擇的解決方法

Unfortunately, no, with Always Ask the file will be treated as a downloaded rather than as a type of web content. If you use Open in Firefox, then you can download afterwards using the PDF Viewer's download button.

從原來的回覆中察看解決方案 👍 1

所有回覆 (5)

more options

Hi, you should be able to fix this by changing the setting on the Options page: View PDF files using Firefox’s built-in viewer. Does yours have this option:

more options

Thanks for advising. I should have mentioned that I have the setting on "Always ask" as I also save to the hard drive. So if the choice is to open in Firefox, is the issue above able to be solved.

more options

選擇的解決方法

Unfortunately, no, with Always Ask the file will be treated as a downloaded rather than as a type of web content. If you use Open in Firefox, then you can download afterwards using the PDF Viewer's download button.

more options

No worries, thanks for advising.

more options

You get the "Open in Firefox" choice if the server sends the file as a generic content-type like "application/octet-stream" or as "content-disposition:attachment". In this case the file is downloaded to the temp folder and opened in Firefox with a file:// URI located in the temp folder. You would have to save/bookmark the original link that you should get in the download manager (Library) via the right-click context menu of this item (Copy Download Link).