MozillaZine

Need Help Deploying Firefox with custom settings to all user

User Help for Mozilla Firefox
mvelez75
New Member
 
Posts: 1
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. 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

DanRaisch
Moderator

User avatar
 
Posts: 119601
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 -- http://kb.mozillazine.org/Configuration ... nistrators

therube

User avatar
 
Posts: 18679
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.
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: 3464
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
https://addons.mozilla.org/firefox/addo ... generator/

v60 esr as recommended
https://www.mozilla.org/en-US/firefox/o ... tions/all/

Return to Firefox Support


Who is online

Users browsing this forum: Google [Bot] and 14 guests