We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

ძიება მხარდაჭერაში

ნუ გაებმებით თაღლითების მახეში მხარდაჭერის საიტზე. აქ არასდროს მოგთხოვენ სატელეფონო ნომერზე დარეკვას, შეტყობინების გამოგზავნას ან პირადი მონაცემების გაზიარებას. გთხოვთ, გვაცნობოთ რამე საეჭვოს შემჩნევისას „დარღვევაზე მოხსენების“ მეშვეობით.

ვრცლად

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

  • 1 პასუხი
  • 1 მომხმარებელი წააწყდა მსგავს სიძნელეს
  • 15 ნახვა
  • ბოლოს გამოეხმაურა guigs

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)

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: