This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

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

  • 1 nzaghachinzaghachi
  • 1 nwere nsogbu anwere nsogbu a
  • 15 views
  • Nzaghachi ikpeazụ nke 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.

All Replies (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: