Need Help Deploying Firefox with custom settings to all user

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

Post Posted June 13th, 2018, 7:42 am

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. ... -installer

Followed this KB article: ... 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("", 1);
user_pref("browser.sessionstore.max_concurrent_tabs", =0);
user_pref("browser.startup.homepage", "");
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. :)


User avatar
Posts: 125476
Joined: September 23rd, 2004, 8:57 pm
Location: Somewhere on the right coast

Post Posted June 13th, 2018, 7:51 am

Moving to Firefox Support.

You may find helpful information in this article -- ... nistrators


User avatar
Posts: 20903
Joined: March 10th, 2004, 9:59 pm
Location: Maryland USA

Post Posted June 13th, 2018, 8:55 am

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, viewtopic.php?p=14802021#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: Gecko/20110420 SeaMonkey/2.0.14 Pinball CopyURL+ FetchTextURL FlashGot NoScript

Posts: 4616
Joined: March 19th, 2005, 10:51 am

Post Posted June 13th, 2018, 11:38 am

i suggest firefox ESR in such environments.
and this might help out for policies in esr ... generator/

v60 esr as recommended ... tions/all/

Posts: 2
Joined: June 12th, 2018, 11:01 am

Post Posted June 25th, 2018, 10:21 am

Greetings All

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


Return to Firefox Support

Who is online

Users browsing this forum: No registered users and 5 guests