搜尋 Mozilla 技術支援網站

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

了解更多

How to request pdf to open with adobe plugin from web code

more options

Hello, I have a pdf hosted on my site that I can't change. It won't display in FF's built in PDF preview, it just hangs with a spinning circle being displayed. If I force FF to use the Adobe Reader (or Adobe DC or whatever they call it now) plugin from Settings/Applications it will preview without a problem. A lot of people visit our site from FF and say that this PDF can't be viewed. Is there any way from the HTML code to request that the pdf be previewed with the Adobe plugin if available? I just get "non-computer people" who complain "I can't see this PDF" and I can respond with the FF support link to change their default PDF plugin, or I can tell them to use a different browser... but if I could just put somewhere to use the Adobe plugin if installed, this whole mess goes away.

I'm not an HTML expert, nor a PDF expert, but I have access to the web back end. Is it possible in HTML to request a specific plugin be used if available?

Otherwise, is it possible to use HTML to request that the built in FF PDF preview NOT be used?

The PDF was prepared poorly. Obviously the ideal situation is to use a PDF that will display in FF Preview, but that's not possible. This isn't the first time this problem has come up, and this isn't the only PDF I've seen with this problem.

Hello, I have a pdf hosted on my site that I can't change. It won't display in FF's built in PDF preview, it just hangs with a spinning circle being displayed. If I force FF to use the Adobe Reader (or Adobe DC or whatever they call it now) plugin from Settings/Applications it will preview without a problem. A lot of people visit our site from FF and say that this PDF can't be viewed. Is there any way from the HTML code to request that the pdf be previewed with the Adobe plugin if available? I just get "non-computer people" who complain "I can't see this PDF" and I can respond with the FF support link to change their default PDF plugin, or I can tell them to use a different browser... but if I could just put somewhere to use the Adobe plugin if installed, this whole mess goes away. I'm not an HTML expert, nor a PDF expert, but I have access to the web back end. Is it possible in HTML to request a specific plugin be used if available? Otherwise, is it possible to use HTML to request that the built in FF PDF preview NOT be used? The PDF was prepared poorly. Obviously the ideal situation is to use a PDF that will display in FF Preview, but that's not possible. This isn't the first time this problem has come up, and this isn't the only PDF I've seen with this problem.

被選擇的解決方法

No, a webpage has no control over which PDF viewer is used. That is strictly a user choice.

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

所有回覆 (3)

more options

選擇的解決方法

No, a webpage has no control over which PDF viewer is used. That is strictly a user choice.

more options

the-edmeister said

No, a webpage has no control over which PDF viewer is used. That is strictly a user choice.

Thanks. I suppose that's fine if the user knew they had a choice. Most users think that having Adobe Reader installed on their system means it will be used to view pdfs. I only found out it changed after discovering a number of PDFs that won't work.

FF needs to let the user know they have another option when pdf preview struggles with a display.

I'll mark it as solved, but it's definitely not a solved problem. Thanks for the reply.

more options

In the past I do recall getting a message at the top of the built-in PDF reader page that mentions something along the lines of "this PDF may not be displaying properly", with the option to use an alternative PDF reader program and presenting the choice of an alternative like Adobe if it is installed.

But I haven't seen that message in awhile, and don't know if that is a result of my having a new PC with a newer operating system now without Adobe Reader installed. Or if that message just isn't in Firefox with the last few versions.