Thursday, March 22, 2012

Setting browser defaults on Linux systems

These are example configs for how to load a Linux system with default browser settings for Mozilla Firefox and Google Chrome.

Mozilla Firefox

* Defined by /etc/xul-ext/ubufox.js
* MozillaZine reference for "about:config" entries
* Example contents....

user_pref("browser.startup.homepage", "");
user_pref("browser.startup.homepage_override", "");
user_pref("browser.startup.homepage_welcome_url", "");

Google Chrome

* Defined by .json files in /etc/opt/chrome/policies/managed/ & /etc/opt/chrome/policies/recommended/
* Policy templates can be downloaded from Google, or referenced on their website.
* Example /etc/opt/chrome/policies/managed/chrome.json

// Policy template for Linux.
  "HideWebStorePromo": true,
  "HomepageLocation": "",
  "ImportBookmarks": false,
  "ImportHistory": false,
  "ImportHomepage": false,
  "ImportSavedPasswords": false,
  "ImportSearchEngine": false,
  "PasswordManagerEnabled": false,
  "PopupsAllowedForUrls": ["https://[*.]",""],
  "RestoreOnStartup": 0,

No comments:

Post a Comment