From bb5dec8bf49860e4496a6913ecb675fd41207579 Mon Sep 17 00:00:00 2001 From: Thorin-Oakenpants Date: Tue, 26 Mar 2019 12:18:04 +0000 Subject: [PATCH] fixups - no settings can be at end of user_pref lines - FF version tags in square brackets - to avoid confusion with the setting tag, split the prefs into separate numbers, thus shove 2031->2031, reuse 2031 - remove the default value notation as Mozilla will roll out default change gradually to users --- user.js | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/user.js b/user.js index 56ff60c..3c7f5aa 100644 --- a/user.js +++ b/user.js @@ -117,7 +117,7 @@ user_pref("browser.newtabpage.activity-stream.feeds.snippets", false); user_pref("browser.newtabpage.activity-stream.feeds.section.topstories", false); user_pref("browser.newtabpage.activity-stream.section.highlights.includePocket", false); user_pref("browser.newtabpage.activity-stream.showSponsored", false); -user_pref("browser.newtabpage.activity-stream.feeds.discoverystreamfeed", false); // FF66+ +user_pref("browser.newtabpage.activity-stream.feeds.discoverystreamfeed", false); // [FF66+] /* 0105d: disable Activity Stream recent Highlights in the Library [FF57+] ***/ // user_pref("browser.library.activity-stream.enabled", false); /* 0110: start Firefox in PB (Private Browsing) mode @@ -1080,12 +1080,13 @@ user_pref("dom.imagecapture.enabled", false); // [DEFAULT: false] * [1] https://developer.mozilla.org/docs/Web/API/OffscreenCanvas ***/ user_pref("gfx.offscreencanvas.enabled", false); // [DEFAULT: false] /* 2030: disable autoplay of HTML5 media [FF63+] - * 0=Allowed (default), 1=Blocked, 2=Prompt + * 0=Allowed, 1=Blocked, 2=Prompt * [NOTE] You can set exceptions under site permissions. - * The 2nd pref disables a new feature that allows autoplay if you interacted with the site ***/ -user_pref("media.autoplay.default", 1); // [SETTING] Privacy & Security>Permissions>Block websites from automatically playing sound -user_pref("media.autoplay.enabled.user-gestures-needed", false); // FF66+ -/* 2031: disable audio autoplay in non-active tabs [FF51+] + * [SETTING] Privacy & Security>Permissions>Block websites from automatically playing sound ***/ +user_pref("media.autoplay.default", 1); +/* 2031: disable autoplay of HTML5 media if you interacted with the site [FF66+] ***/ +user_pref("media.autoplay.enabled.user-gestures-needed", false); +/* 2032: disable audio autoplay in non-active tabs [FF51+] * [1] https://www.ghacks.net/2016/11/14/firefox-51-blocks-automatic-audio-playback-in-non-active-tabs/ ***/ user_pref("media.block-autoplay-until-in-foreground", true);