搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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: