From 82fe682d6e7dd4117e0a15ae5b2bf948c12600db Mon Sep 17 00:00:00 2001 From: Narsil Date: Tue, 22 Jun 2021 19:02:30 +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 4383567..dbf9cb9 100644 --- a/user.js +++ b/user.js @@ -1288,12 +1288,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 @@ -1302,10 +1296,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 @@ -1739,6 +1729,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", 1); // ------------------------------------- +// 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 @@ -1768,6 +1764,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