Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

搜尋 Mozilla 技術支援網站

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

Learn More

how do i create a file that sets all clients to "Use Adobe Acrobat (In Firefox)"

  • 1 回覆
  • 1 有這個問題
  • 15 次檢視
  • 最近回覆由 guigs

more options

The built in firefox PDF viewer is causing certain PDFs to print out solid black pages. I have found how I can add // Disables built in PDF viewer defaultPref("pdfjs.disabled",true); to mozilla.cfg to disable the built in PDF viewer for all users. I am also needing to find a way to set all the clients to "Use Adobe Acrobat (In Firefox)" as the default action for all users when clicking a PDF using a deployed file. I have found multiple articles talking about going to Options--Applications, and then setting the default PDF action, but with 3300 clients that is not a viable solution. If there is a way to edit mozilla.cfg or create a .js file that will set the default PDF action, that would be optimal. Then I could just bundle the file with my current install package and deploy it to all machines remotely with the next update. Any help is greatly appreciated.

The built in firefox PDF viewer is causing certain PDFs to print out solid black pages. I have found how I can add // Disables built in PDF viewer defaultPref("pdfjs.disabled",true); to mozilla.cfg to disable the built in PDF viewer for all users. I am also needing to find a way to set all the clients to "Use Adobe Acrobat (In Firefox)" as the default action for all users when clicking a PDF using a deployed file. I have found multiple articles talking about going to Options--Applications, and then setting the default PDF action, but with 3300 clients that is not a viable solution. If there is a way to edit mozilla.cfg or create a .js file that will set the default PDF action, that would be optimal. Then I could just bundle the file with my current install package and deploy it to all machines remotely with the next update. Any help is greatly appreciated.

所有回覆 (1)

more options

Hi farleydw, This was a major issue that was updated. The only difference I see is that they are white: See the Release Notes

To change the default pdf viewer in a mozilla.cfg file I will borrow a response from the top contributor cor-el: "ou can use a mozilla.cfg file in the Firefox program folder to specify new (default) values and possibly lock prefs.

Place a local-settings.js file in the defaults\pref folder where also the channel-prefs.js file is located to specify using mozilla.cfg.

pref("general.config.filename", "mozilla.cfg");

These functions can be used in the mozilla.cfg file:

defaultPref(); // set new default value pref(); // set pref, but allow changes in current session lockPref(); // lock pref, disallow changes

See: