diff --git a/Advanced-Users.md b/Advanced-Users.md index 845f7bf..2967074 100644 --- a/Advanced-Users.md +++ b/Advanced-Users.md @@ -22,10 +22,10 @@ The file should be located at: | OS | Path | | -------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | -| Windows 7 | `%APPDATA%\Mozilla\Firefox\Profiles\XXXXXXXX.your_profile_name\user.js` | -| Linux | `~/.mozilla/firefox/XXXXXXXX.your_profile_name/user.js` | +| Windows | `%APPDATA%\Mozilla\Firefox\Profiles\XXXXXXXX.your_profile_name\user.js` | | macOS | `~/Library/Application Support/Firefox/Profiles/XXXXXXXX.your_profile_name` | -| Android | `/data/data/org.mozilla.firefox/files/mozilla/XXXXXXXX.your_profile_name` and see [issue #14](https://github.com/pyllyukko/user.js/issues/14) | +| Linux | `~/.mozilla/firefox/XXXXXXXX.your_profile_name/user.js` | +| Android | `/data/data/org.mozilla.firefox/files/mozilla/XXXXXXXX.your_profile_name` | | Windows (portable) | `[firefox directory]\Data\profile\` | With this installation method, if you change any of `user.js` settings through [`about:config`](http://kb.mozillazine.org/About:config) or Firefox preferences dialogs, they will be reset to the `user.js` defined values after you restart Firefox. This makes sure they're always back to secure defaults when starting the browser. However this prevents persistently changing settings you don't consider appropriate. Either edit `user.js` directly, or use the system-wide installation method described below. @@ -42,11 +42,11 @@ Copy the produced file to the Firefox installation directory. The file should be | OS | Path | | ------------------------- | ---------------------------------------------------------------------------- | -| Windows | `C:\Program Files\Mozilla Firefox\mozilla.cfg` | +| Windows | `C:\Program Files\Mozilla Firefox\mozilla.cfg` | +| macOS | `/Applications/Firefox.app/Contents/Resources/mozilla.cfg` | | Linux | `/etc/firefox/syspref.js`, for older versions: `/etc/firefox/firefox.js` | | Linux (Debian) | `/etc/firefox-esr/firefox-esr.js` | | Linux (Gentoo, Archlinux) | `/usr/lib/firefox/mozilla.cfg`, might also be `/usr/lib32/` or `/usr/lib64/` | -| OS X | `/Applications/Firefox.app/Contents/Resources/mozilla.cfg` | #### Additional installation steps for Windows / OS X / Gentoo / Archlinux @@ -61,8 +61,8 @@ This file should be located at: | OS | Path | | ------------------------- | ------------------------------------------------------------------------------- | -| Windows | `C:\Program Files (x86)\Mozilla Firefox\defaults\pref\` | -| OS X | `/Applications/Firefox.app/Contents/Resources/defaults/pref` | +| Windows | `C:\Program Files\Mozilla Firefox\defaults\pref\` | +| macOS | `/Applications/Firefox.app/Contents/Resources/defaults/pref` | | Linux (Gentoo, Archlinux) | `/usr/lib/firefox/defaults/pref/`, might also be `/usr/lib32/` or `/usr/lib64/` | If `mozilla.cfg` still fails to load, you must add a blank comment to the top of `mozilla.cfg` like so: @@ -92,8 +92,8 @@ To install [policies.json](policies.json) from this repository, simply copy it t | OS | Path | | ------------------------- | ------------------------------------------------------------------------------- | -| Windows | `C:\Program Files (x86)\Mozilla Firefox\distribution\` | -| OS X | `/Applications/Firefox.app/distribution\` | +| Windows | `C:\Program Files\Mozilla Firefox\distribution\` | +| macOS | `/Applications/Firefox.app/distribution\` | | Linux (Debian) | `/etc/firefox-esr/policies/` | Note that JSON does not support comments, hence settings are documented in custom `*_comment` keys. Mozilla maintains a list of available policies: [[1]](https://mozilla.github.io/policy-templates/) [[2]](https://github.com/mozilla/policy-templates). The [Enterprise Policy Generator](https://addons.mozilla.org/en-US/firefox/addon/enterprise-policy-generator/) add-on can be used to generate `policies.json` files from a graphical interface.