Update 'user.js'

This commit is contained in:
Narsil 2021-06-22 19:02:30 +00:00
parent aa2bfb63a0
commit 82fe682d6e
1 changed files with 10 additions and 10 deletions

20
user.js
View File

@ -1288,12 +1288,6 @@ user_pref("dom.targetBlankNoOpener.enabled", true); // [DEFAULT: true FF79+]
// https://bugzilla.mozilla.org/1313580 // https://bugzilla.mozilla.org/1313580
user_pref("dom.battery.enabled", false); 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] // Disable hardware acceleration to reduce graphics fingerprinting [SETUP-HARDEN]
// [WARNING] Affects text rendering (fonts will look different), impacts video performance, // [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 // 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("gfx.direct2d.disabled", true);
// user_pref("layers.acceleration.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+] // Disable Media Capabilities API [FF63+]
// [WARNING] This *may* affect media performance if disabled, no one is sure // [WARNING] This *may* affect media performance if disabled, no one is sure
// https://github.com/WICG/media-capabilities // 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 // https://gitlab.torproject.org/tpo/applications/tor-browser/-/issues/10286
user_pref("dom.w3c_touch_events.enabled", 1); 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+] // Disable MediaDevices change detection [FF51+]
// https://developer.mozilla.org/docs/Web/Events/devicechange // https://developer.mozilla.org/docs/Web/Events/devicechange
// https://developer.mozilla.org/docs/Web/API/MediaDevices/ondevicechange // 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 // 0=light, 1=dark : This overrides your OS value
// user_pref("ui.systemUsesDarkTheme", 0); // [HIDDEN PREF] // 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+] // Limit font visibility (non-ANDROID) [FF79+]
// Uses hardcoded lists with two parts: kBaseFonts + kLangPackFonts // 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 // 1=only base system fonts, 2=also fonts from optional language packs, 3=also user-installed fonts