Need Help Deploying Firefox with custom settings to all user

User Help for Mozilla Firefox
Post Reply
mvelez75
Posts: 2
Joined: June 12th, 2018, 11:01 am

Need Help Deploying Firefox with custom settings to all user

Post by mvelez75 »

My objective is to have these following settings set in Firefox browser for all of our users during the silent install deployment:
To Enable Pop-ups
To increase the disk cache to 1024MB
To set the disk max entry to -1
Limit the open tabs
Home Page to our company website.

I have followed the kb for repackaging firefox with custom changes. https://support.mozilla.org/en-US/kb/re ... -installer

Followed this KB article: https://developer.mozilla.org/en-US/doc ... references And added all-companyname.js file to Core\defaults\pref\.

The newly created install runs silently with -ms, but none of the changes take affect.

Here are the changes that are I trying to implement in the all-companyname.js file:
// 6/8/2018
// Oracle Cloud Customization
// Do Not Delete This File


user_pref("app.normandy.first_run", false);
user_pref("browser.cache.disk.capacity", 1024000);
user_pref("browser.cache.disk.max_entry_size", -1);
user_pref("browser.cache.disk.smart_size.first_run", false);
user-pref("browser.link.open_newwindow.restriction", 1);
user_pref("browser.sessionstore.max_concurrent_tabs", =0);
user_pref("browser.startup.homepage", "https://www.titan-intl.com/");
user_pref("browser.tabs.remote.autostart.2", true);
user_pref("dom.apps.rest_permissions", true);
user_pref("dom.disable_open_during_load", false);
user_pref("pref.browser.homepage.disable_button.current_page", false);

So my question are:
Am I editing the .js file correctly?
Is there another way I can implement these custom changes enterprise wise?

Thanks your suggestions will be greatly appreciated. :)
Maritza
User avatar
DanRaisch
Moderator
Posts: 127166
Joined: September 23rd, 2004, 8:57 pm
Location: Somewhere on the right coast

Re: Need Help Deploying Firefox with custom settings to all

Post by DanRaisch »

Moving to Firefox Support.

You may find helpful information in this article -- http://kb.mozillazine.org/Configuration ... nistrators
User avatar
therube
Posts: 21685
Joined: March 10th, 2004, 9:59 pm
Location: Maryland USA

Re: Need Help Deploying Firefox with custom settings to all

Post by therube »

So the user is not installing FF (per se).
They are running FF & you want specific settings applied to their Profile.

Peruse this "no update" thread, http://forums.mozillazine.org/viewtopic ... #p14802021.
autoconfig.js is discussed there.
If what I came up with is somewhat close to how things work, autoconfig.js is they way to go about it, I'd think.
Likewise, if I'm understanding, user_pref("... is the syntax for a prefs.js (or user.js), but for your own configuration file, you'd want to drop the user_ part, so only pref("...

---

(From the repackaging link...
Step Three
Make your changes to Firefox in the core subdirectory.
It's not like there is any other directory except for core ;-).)

---

Also check out the External Links in the link Dan posted.
Fire 750, bring back 250.
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball CopyURL+ FetchTextURL FlashGot NoScript
Brummelchen
Posts: 4480
Joined: March 19th, 2005, 10:51 am

Re: Need Help Deploying Firefox with custom settings to all

Post by Brummelchen »

i suggest firefox ESR in such environments.
and this might help out for policies in esr
https://addons.mozilla.org/firefox/addo ... generator/

v60 esr as recommended
https://www.mozilla.org/en-US/firefox/o ... tions/all/
mvelez75
Posts: 2
Joined: June 12th, 2018, 11:01 am

Re: Need Help Deploying Firefox with custom settings to all

Post by mvelez75 »

Greetings All

I am looking into each post suggestion. I appreciate the feedback. I'll let you know my results! Thanks again!

Maritza
Post Reply