From 3d9572837d2c9fb58ed3855200225c3e0bd36fed Mon Sep 17 00:00:00 2001 From: Narsil Date: Tue, 22 Jun 2021 19:05:48 +0000 Subject: [PATCH] Update 'user.js' --- user.js | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/user.js b/user.js index 5b7c64c..1439a19 100644 --- a/user.js +++ b/user.js @@ -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