Update 'user.js'

This commit is contained in:
Narsil 2021-06-22 19:05:48 +00:00
parent a9fe5f2a62
commit 3d9572837d
1 changed files with 10 additions and 10 deletions

20
user.js
View File

@ -1251,12 +1251,6 @@ user_pref("dom.targetBlankNoOpener.enabled", true); // [DEFAULT: true FF79+]
// https://bugzilla.mozilla.org/1313580 ***/
user_pref("dom.battery.enabled", false);
// -------------------------------------
// Disable media device enumeration [FF29+]
// [NOTE] media.peerconnection.enabled should also be set to false
// https://wiki.mozilla.org/Media/getUserMedia
// https://developer.mozilla.org/docs/Web/API/MediaDevices/enumerateDevices ***/
user_pref("media.navigator.enabled", false);
// -------------------------------------
// Disable hardware acceleration to reduce graphics fingerprinting [SETUP-HARDEN]
// [WARNING] Affects text rendering (fonts will look different), impacts video performance,
// and parts of Quantum that utilize the GPU will also be affected as they are rolled out
@ -1265,10 +1259,6 @@ user_pref("media.navigator.enabled", false);
// user_pref("gfx.direct2d.disabled", true);
// user_pref("layers.acceleration.disabled", true);
// -------------------------------------
// Disable Web Audio API [FF51+]
// https://bugzilla.mozilla.org/1288359 ***/
user_pref("dom.webaudio.enabled", false);
// -------------------------------------
// Disable Media Capabilities API [FF63+]
// [WARNING] This *may* affect media performance if disabled, no one is sure
// https://github.com/WICG/media-capabilities
@ -1704,6 +1694,12 @@ user_pref("media.video_stats.enabled", false);
// https://gitlab.torproject.org/tpo/applications/tor-browser/-/issues/10286
user_pref("dom.w3c_touch_events.enabled", 0);
// -------------------------------------
// Disable media device enumeration [FF29+]
// [NOTE] media.peerconnection.enabled should also be set to false
// https://wiki.mozilla.org/Media/getUserMedia
// https://developer.mozilla.org/docs/Web/API/MediaDevices/enumerateDevices
user_pref("media.navigator.enabled", false);
// -------------------------------------
// Disable MediaDevices change detection [FF51+]
// https://developer.mozilla.org/docs/Web/Events/devicechange
// https://developer.mozilla.org/docs/Web/API/MediaDevices/ondevicechange
@ -1733,6 +1729,10 @@ user_pref("ui.use_standins_for_native_colors", true);
// 0=light, 1=dark : This overrides your OS value
user_pref("ui.systemUsesDarkTheme", 0); // [HIDDEN PREF]
// -------------------------------------
// Disable Web Audio API [FF51+]
// https://bugzilla.mozilla.org/1288359
user_pref("dom.webaudio.enabled", false);
// -------------------------------------
// Limit font visibility (non-ANDROID) [FF79+]
// Uses hardcoded lists with two parts: kBaseFonts + kLangPackFonts
// 1=only base system fonts, 2=also fonts from optional language packs, 3=also user-installed fonts