Type about:profiles
into the URL bar to display the profile folder path.
Copy the user.js
file to the default profile's root folder.
After restarting Firefox, about:config
can be used to check if the settings have been applied correctly.
// disable disk caching to reduce wear on SSD | |
user_pref("browser.cache.disk.enable", false); | |
// view PDF documents in the browser without downloading | |
user_pref("browser.download.open_pdf_attachments_inline", true); | |
// remove garbage from new tabs | |
user_pref("browser.newtabpage.activity-stream.feeds.section.topstories", false); | |
user_pref("browser.newtabpage.activity-stream.showSponsored", false); | |
user_pref("browser.newtabpage.activity-stream.showSponsoredTopSites", false); | |
// use native macOS full screen for videos | |
user_pref("full-screen-api.macos-native-full-screen", true); | |
// disable full screen warning | |
user_pref("full-screen-api.warning.timeout", 0); | |
user_pref("full-screen-api.warning.delay", 0); | |
// disable promos | |
user_pref("browser.promo.focus.enabled", false); | |
user_pref("browser.promo.pin.enabled", false); | |
user_pref("browser.vpn_promo.enabled", false); | |
// disable "what's new" page | |
user_pref("browser.messaging-system.whatsNewPanel.enabled", false); | |
user_pref("startup.homepage_override_url", "about:blank"); |