-
-
Notifications
You must be signed in to change notification settings - Fork 164
Common Overrides
- Open the
user.js
in a text editor such as Notepad. - Add prefs from the options below.
- Save and close the file.
- Return to Getting Started.
A user.js
applies prefs in the order they are written.
So, if a pref is listed a second time, then the second value (yours) would override the first (Betterfox's).
To enable certain functions, copy+paste
the appropriate prefs to the MY OVERRIDES
section of your user.js
.
The built-in password manager is disabled for security.
-
☰
→ Settings → Privacy & Security → Logins and Passwords → Ask to save logins and passwords for websites
We recommend using Bitwarden or 1Password to manage your credentials on multiple devices.
// PREF: restore login manager
user_pref("signon.rememberSignons", true);
// PREF: restore address and credit card manager
user_pref("extensions.formautofill.addresses.enabled", true);
user_pref("extensions.formautofill.creditCards.enabled", true);
Location requests are blocked to minimize annoyances.
Manage your site exceptions to allow only for websites you want to ask for your location.
-
☰
→ Settings → Privacy & Security → Permissions → Location
// PREF: allow websites to ask you for your location
user_pref("permissions.default.geo", 0);
Site notifications are blocked to increase security and minimize annoyances.
Manage your site exceptions to allow only for websites you want to send you notifications.
-
☰
→ Settings → Privacy & Security → Permissions → Notifications
// PREF: allow websites to ask you to receive site notifications
user_pref("permissions.default.desktop-notification", 0);
Top sites (pinned site shortcuts) are removed for a clean new tab page.
-
☰
→ Settings → Home → Firefox Home Content
// PREF: restore Top Sites on New Tab page
user_pref("browser.newtabpage.activity-stream.feeds.topsites", true); // Shortcuts
user_pref("browser.newtabpage.activity-stream.default.sites", ""); // clear default topsites
// PREF: remove sponsored content on New Tab page
user_pref("browser.newtabpage.activity-stream.showSponsoredTopSites", false); // Sponsored shortcuts
user_pref("browser.newtabpage.activity-stream.feeds.section.topstories", false); // Recommended by Pocket
user_pref("browser.newtabpage.activity-stream.showSponsored", false); // Sponsored Stories
- Bookmark keywords may provide a better experience (YouTube example).
- Learn how to narrow down suggestions in the URL bar by a specific type of result (
*
for bookmarks,^
for browser history, etc.).
Search suggestions are disabled in the URL bar to keep everything you type from going to Google.
-
☰
→ Settings → Search → Search Suggestions → Provide search suggestions
// PREF: restore search engine suggestions
user_pref("browser.search.suggest.enabled", true);
You can also select a default search engine just for Private Browsing windows. (This is an option after you apply the user.js
.)
-
☰
→ Settings → Search → Default Search Engine
Change your default search engine to DuckDuckGo, or add a premium search engine like Kagi.
Enable container tabs if you want to login to the same site under different accounts.
You'll also want to install Multi-Account Containers for extra functionality (YouTube example).
// PREF: enable container tabs
user_pref("privacy.userContext.enabled", true);
Add this pref if you use a dedicated GPU on a Windows PC. (It's already enabled on macOS and Linux.)
// PREF: enable GPU-accelerated Canvas2D [WINDOWS]
user_pref("gfx.canvas.accelerated", true);
Firefox's default scrolling needs improvement.
Smoothfox provides a far better scroll experience.