firefox: don't autoplay videos

This commit is contained in:
Vincent Bernat 2020-02-15 18:29:18 +01:00
parent 8a3cd8e767
commit 5178247f9a

View file

@ -31,6 +31,9 @@ user_pref("browser.ctrlTab.recentlyUsedOrder", false);
user_pref("full-screen-api.warning.timeout", 0); user_pref("full-screen-api.warning.timeout", 0);
user_pref("full-screen-api.transition.timeout", 0); user_pref("full-screen-api.transition.timeout", 0);
// Don't autoplay videos (even without audio)
user_pref("media.autoplay.default", 5);
// Remove some annoying animations (notably when going full screen) // Remove some annoying animations (notably when going full screen)
user_pref("toolkit.cosmeticAnimations.enabled", false); user_pref("toolkit.cosmeticAnimations.enabled", false);