how do i create a file that sets all clients to "Use Adobe Acrobat (In Firefox)"
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)
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: