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

搜尋 Mozilla 技術支援網站

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

了解更多

Cannot access websites that use PDF with XFA because I am running Linux

more options

I have to access a government website which makes all government forms electronically available as PDF using XFA so they can be filled in. However I am running Firefox on Linux. When I try to download a form from this site the site checks my browser to see if I have the Adobe PDF plugin installed with a release level that supports XFA. If I do not have such a plugin installed, which I cannot since there is no such plugin for Firefox on Linux, then the web site instead of sending me the PDF document, which I could view with any number of offline PDF viewers which do support XFA, sends me a one-line PDF that demands that I install the Adobe plugin. The government will not remove this check since it is a convenience to the vast majority of their clients who are running Windows. Is there some way I can configure my Firefox browser on Linux so it lies to the web-site and says that I have installed the plugin?

I have to access a government website which makes all government forms electronically available as PDF using XFA so they can be filled in. However I am running Firefox on Linux. When I try to download a form from this site the site checks my browser to see if I have the Adobe PDF plugin installed with a release level that supports XFA. If I do not have such a plugin installed, which I cannot since there is no such plugin for Firefox on Linux, then the web site instead of sending me the PDF document, which I could view with any number of offline PDF viewers which do support XFA, sends me a one-line PDF that demands that I install the Adobe plugin. The government will not remove this check since it is a convenience to the vast majority of their clients who are running Windows. Is there some way I can configure my Firefox browser on Linux so it lies to the web-site and says that I have installed the plugin?

所有回覆 (1)

more options

Perhaps you can find a fake plugin file somewhere; someone else must have needed it at some point in time.

From the settings perspective, there is an auto-generated file which stores information about your plugins. I suspect Firefox will detect and remove fictitious entries. Perhaps if you make the file read only, Firefox won't be able to "correct" it? Whether this will populate the Add-ons page, Plugins section, or fool Firefox into thinking there really is an Acrobat plugin, I could only guess.

If you want to try it, the file is named pluginreg.dat and is in your profile folder.

For comparison, I have this for the Adobe Acrobat plugin in the [PLUGINS] section:

nppdf32.dll|$
C:\Program Files (x86)\Adobe\Acrobat 11.0\Acrobat\browser\nppdf32.dll|$
11.0.12.18|$
1435585406000|0|0|0|$
Adobe PDF Plug-In For Firefox and Netscape 11.0.12|$
Adobe Acrobat|$
7
0|application/pdf|Acrobat Portable Document Format|pdf|$
1|application/vnd.adobe.pdfxml|Adobe PDF in XML Format|pdfxml|$
2|application/vnd.adobe.x-mars|Adobe PDF in XML Format|mars|$
3|application/vnd.fdf|Acrobat Forms Data Format|fdf|$
4|application/vnd.adobe.xfdf|XML Version of Acrobat Forms Data Format|xfdf|$
5|application/vnd.adobe.xdp+xml| Acrobat XML Data Package|xdp|$
6|application/vnd.adobe.xfd+xml|Adobe FormFlow99 Data File|xfd|$