2020-01-24 07:30:39 +01:00
|
|
|
// Preferences for Firefox. To be symlinked in the profile as user.js.
|
|
|
|
// Settings synced through Firefox Accounts may not be present.
|
|
|
|
|
|
|
|
// Ensure context menus stay open after left-click (useful when scale
|
|
|
|
// == 1.5)
|
|
|
|
user_pref("ui.context_menus.after_mouseup", true);
|
|
|
|
|
|
|
|
// Don't display menubar when pressing Alt
|
|
|
|
user_pref("ui.key.menuAccessKeyFocuses", false);
|
|
|
|
|
|
|
|
// No popup at all!
|
|
|
|
user_pref("browser.link.open_newwindow.restriction", 0);
|
|
|
|
|
|
|
|
// Search settings
|
|
|
|
user_pref("browser.search.region", "FR");
|
|
|
|
user_pref("browser.search.suggest.enabled", false);
|
|
|
|
|
2020-04-04 08:18:49 +02:00
|
|
|
// Homepage is newtab. On launch, restore session.
|
2020-01-24 07:30:39 +01:00
|
|
|
user_pref("browser.startup.homepage", "about:newtab");
|
2020-04-04 08:18:49 +02:00
|
|
|
user_pref("browser.startup.page", 3);
|
2020-01-24 07:30:39 +01:00
|
|
|
|
|
|
|
// Languages
|
|
|
|
user_pref("intl.accept_languages", "en-us,en,fr");
|
|
|
|
|
2020-04-12 08:37:25 +02:00
|
|
|
// Disable pocket
|
2020-04-18 12:18:08 +02:00
|
|
|
user_pref("browser.newtabpage.activity-stream.feeds.section.topstories", false);
|
2020-04-12 08:37:25 +02:00
|
|
|
user_pref("extensions.pocket.enabled", false);
|
|
|
|
|
2020-04-18 12:09:46 +02:00
|
|
|
// Don't recommend extensions
|
|
|
|
user_pref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.addons", false);
|
|
|
|
user_pref("browser.discovery.enabled", false);
|
|
|
|
|
2020-01-24 07:30:39 +01:00
|
|
|
// Backspace is like back
|
|
|
|
user_pref("browser.backspace_action", 0);
|
|
|
|
|
|
|
|
// Ctrl-Tab should not use recent order (it's confusing for me)
|
|
|
|
user_pref("browser.ctrlTab.recentlyUsedOrder", false);
|
2020-03-20 22:16:39 +01:00
|
|
|
// Don't allow detaching a tab by pulling it
|
2020-02-17 22:36:00 +01:00
|
|
|
user_pref("browser.tabs.allowTabDetach", false);
|
2020-01-24 07:32:50 +01:00
|
|
|
|
|
|
|
// Don't display fullscreen warning
|
2020-01-24 07:37:10 +01:00
|
|
|
user_pref("full-screen-api.warning.timeout", 0);
|
|
|
|
user_pref("full-screen-api.transition.timeout", 0);
|
2020-01-24 07:41:36 +01:00
|
|
|
|
2020-07-05 14:00:45 +02:00
|
|
|
// Don't autoplay videos (even without audio)
|
|
|
|
user_pref("media.autoplay.default", 5);
|
|
|
|
|
2020-01-24 07:41:36 +01:00
|
|
|
// Remove some annoying animations (notably when going full screen)
|
|
|
|
user_pref("toolkit.cosmeticAnimations.enabled", false);
|
2020-01-26 21:01:35 +01:00
|
|
|
|
2020-06-11 22:06:12 +02:00
|
|
|
// Force enable WebRender
|
|
|
|
user_pref("gfx.webrender.all", true);
|
2020-02-23 09:29:51 +01:00
|
|
|
|
2020-05-12 22:35:52 +02:00
|
|
|
// Lazy loading is too late on Firefox. See https://bugzilla.mozilla.org/show_bug.cgi?id=1618240
|
|
|
|
user_pref("dom.image-lazy-loading.enabled", false);
|
|
|
|
|
2020-02-23 09:29:51 +01:00
|
|
|
// Disable DoH for now
|
|
|
|
user_pref("network.trr.mode", 5);
|
2020-05-06 09:39:08 +02:00
|
|
|
// No HTTP/3 yet (disabled by default, but document here it doesn't work well for me on Google)
|
|
|
|
user_pref("network.http.http3.enabled", false);
|
2020-04-26 08:04:27 +02:00
|
|
|
|
2020-07-01 23:20:25 +02:00
|
|
|
// Don't use system notifications (awesome is not very good at displaying long notifications)
|
|
|
|
user_pref("alerts.useSystemBackend", false);
|