- 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
This commit is contained in:
Thorin-Oakenpants 2019-03-26 12:18:04 +00:00 committed by GitHub
parent 8ea3d91672
commit bb5dec8bf4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

13
user.js
View file

@ -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);