Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Learn More

Why do .PDFs sometimes launch Adobe Reader?

  • 5 trả lời
  • 2 gặp vấn đề này
  • 49 lượt xem
  • Trả lời mới nhất được viết bởi GilDawson

more options

Using Firefox 33.1 and Preferences -> Applications -> "Portable Document Format (PDF)" -> Preview in Firefox, clicking on a .pdf link usually opens a new tab with the .pdf file. However, on some websites clicking on a .pdf link pops up the "You have chosen to open:" dialog with "Save File" selected and "Adobe Reader (Default)" as an alternative.

What causes this difference in behavior, and can I control it?

--Gil

Using Firefox 33.1 and Preferences -> Applications -> "Portable Document Format (PDF)" -> Preview in Firefox, clicking on a .pdf link usually opens a new tab with the .pdf file. However, on some websites clicking on a .pdf link pops up the "You have chosen to open:" dialog with "Save File" selected and "Adobe Reader (Default)" as an alternative. What causes this difference in behavior, and can I control it? --Gil

Tất cả các câu trả lời (5)

more options

hello gil, websites can explicitly advice the browser to download a file - you'll be presented with the save file dialog in this case. you can circumvent that behaviour with an extension like this one: https://addons.mozilla.org/firefox/addon/inlinedisposition/

more options

If a proper MIME type is present or not. Lacking a MIME type Firefox will default to "asking" and also if the MIME type is incorrect for the "expected" file.

https://support.mozilla.org/en-US/kb/set-how-firefox-handles-different-file-types

more options

Well, that helps.

  • Installing InlineDisposition changed the alternative from "Adobe Reader (Default)" to a "Choose" button, which linked to my Applications folder. Interesting, but not quite what I wanted.
  • Looking at the "Page Source" I couldn't figure out what "MIME type" the server presents. Is there a way for Firefox to tell me which type the server associates with the file?

Thanks for the links. This is evidently a complicated area.

--Gil

more options

can you provide a url to a site/pdf where this is happening?

more options

Unfortunately, no. The web page with the ornery pdfs is within my account on my financial advisor's website which requires my password. At least, I hope it does.

Thank you very much for the help you have given me. I see now that this question is much more complicated than I thought it would be. I'm content now to let it go, and just do what they tell me.

I really appreciate your link helping me to understand what is going on.

--Gil