Skip to content

Betterfox - Firefox user.js for speed, privacy, and security. Your favorite browser, but better.

31% faster than regular Firefox

Required reading

Note

Create a backup profile, if you feel unsure about the changes.

If you don't have it already: Get Firefox

Installation

  1. Download the user.js file here (Right click > Save Link As…).
  2. Review Common Overrides and make any necessary changes.
  3. Open Firefox. In the URL bar, type about:profiles and press Enter.
  4. For the profile you want to use (or use default), click Open Folder in the Root Directory section.
  5. Close Firefox.
  6. Move the user.js file into the folder.
  7. Open Firefox and make changes in settings if you need.

After restarting Firefox:

  1. Get an ad blocker like uBlock Origin with our recommended filters.
  2. Go to C:\Program Files\Mozilla Firefox\distribution and put policies.json there.
  3. Restart again and then check about:policies, if you see tweaks there, then you're good to go.
    • You probably don't have distribution, so create it.
    • If your Firefox folder isn't in that path, so find it yourself and do the same steps.

Overrides

Follow the original Betterfox wiki

Passwords override

Danger

For those who store passwords in the browser (in a Mozilla account) - remove the // at the beginning of line 238; otherwise, the browser won't suggest entering the saved password.

  1. Open user.js with any IDE
  2. Move to the end of file and edit line 238 as said above.

In result, code should look like this:

user.js
user_pref("signon.rememberSignons", true);
user_pref("ui.key.menuAccessKeyFocuses", false);
user_pref("browser.tabs.warnOnClose", true);
user_pref("browser.tabs.hoverPreview.enabled", false);

/****************************************************************************
 * END: MY OVERRIDES                                                        *
****************************************************************************/

Modifications for other platforms