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
|
|
|
|
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-02-15 18:29:18 +01: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-02-15 12:25:27 +01:00
|
|
|
// Do not force-enable hardware compositing and WebRender.
|
|
|
|
user_pref("layers.acceleration.force-enabled", false);
|
2020-01-27 15:25:47 +01:00
|
|
|
user_pref("gfx.webrender.enabled", false);
|
|
|
|
user_pref("gfx.webrender.all", false);
|
2020-02-23 09:29:51 +01:00
|
|
|
|
|
|
|
// Disable DoH for now
|
|
|
|
user_pref("network.trr.mode", 5);
|