From ba9b3c217be47c752876d6b55166e52f2d315a8c Mon Sep 17 00:00:00 2001 From: Thorin-Oakenpants Date: Sat, 8 May 2021 14:45:32 +0000 Subject: [PATCH] tweak 4600s: closes #1172 --- user.js | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/user.js b/user.js index 96be4c4..85f9516 100644 --- a/user.js +++ b/user.js @@ -1497,20 +1497,18 @@ user_pref("ui.prefersReducedMotion", 1); // [HIDDEN PREF] user_pref("_user.js.parrot", "4600 syntax error: the parrot's crossed the Jordan"); /* [SETUP-non-RFP] Non-RFP users replace the * with a slash on this line to enable these // FF55+ -// 4601: [2514] spoof (or limit?) number of CPU cores [FF48+] - // [NOTE] *may* affect core chrome/Firefox performance, will affect content. +// 4601: [2514] spoof number of CPU cores [FF48+] // [1] https://bugzilla.mozilla.org/1008453 // [2] https://gitlab.torproject.org/tpo/applications/tor-browser/-/issues/21675 // [3] https://gitlab.torproject.org/tpo/applications/tor-browser/-/issues/22127 // [4] https://html.spec.whatwg.org/multipage/workers.html#navigator.hardwareconcurrency - // user_pref("dom.maxHardwareConcurrency", 2); -// * * * / +user_pref("dom.maxHardwareConcurrency", 2); // FF56+ // 4602: [2411] disable resource/navigation timing user_pref("dom.enable_resource_timing", false); // 4603: [2412] disable timing attacks // [1] https://wiki.mozilla.org/Security/Reviews/Firefox/NavigationTimingAPI -user_pref("dom.enable_performance", false); + // user_pref("dom.enable_performance", false); // 4604: [2512] disable device sensor API // Optional protection depending on your device // [1] https://gitlab.torproject.org/tpo/applications/tor-browser/-/issues/15758 @@ -1537,7 +1535,6 @@ user_pref("dom.netinfo.enabled", false); // [DEFAULT: true on Android] // [2] https://developer.mozilla.org/docs/Web/API/SpeechSynthesis // [3] https://wiki.mozilla.org/HTML5_Speech_API user_pref("media.webspeech.synth.enabled", false); -// * * * / // FF57+ // 4610: [2506] disable video statistics - JS performance fingerprinting [FF25+] // [1] https://gitlab.torproject.org/tpo/applications/tor-browser/-/issues/15757 @@ -1550,19 +1547,16 @@ user_pref("media.video_stats.enabled", false); // [1] https://developer.mozilla.org/docs/Web/API/Touch_events // [2] https://gitlab.torproject.org/tpo/applications/tor-browser/-/issues/10286 // user_pref("dom.w3c_touch_events.enabled", 0); -// * * * / // FF59+ // 4612: [2511] disable MediaDevices change detection [FF51+] // [1] https://developer.mozilla.org/docs/Web/Events/devicechange // [2] https://developer.mozilla.org/docs/Web/API/MediaDevices/ondevicechange user_pref("media.ondevicechange.enabled", false); -// * * * / // FF60+ // 4613: [2011] disable WebGL debug info being available to websites // [1] https://bugzilla.mozilla.org/1171228 // [2] https://developer.mozilla.org/docs/Web/API/WEBGL_debug_renderer_info user_pref("webgl.enable-debug-renderer-info", false); -// * * * / // FF63+ // 4614: enforce prefers-reduced-motion as no-preference [FF63+] [RESTART] // 0=no-preference, 1=reduce @@ -1572,7 +1566,6 @@ user_pref("ui.prefersReducedMotion", 0); // [HIDDEN PREF] // [1] https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent // [-] https://bugzilla.mozilla.org/1688105 user_pref("dom.w3c_pointer_events.enabled", false); -// * * * / // FF67+ // 4616: [2618] disable exposure of system colors to CSS or canvas [FF44+] // [NOTE] See second listed bug: may cause black on black for elements with undefined colors @@ -1589,7 +1582,6 @@ user_pref("ui.systemUsesDarkTheme", 0); // [HIDDEN PREF] // [NOTE] Bundled fonts are auto-allowed // [1] https://searchfox.org/mozilla-central/search?path=StandardFonts*.inc user_pref("layout.css.font-visibility.level", 1); -// * * * / // ***/ /*** [SECTION 4700]: RFP ALTERNATIVES (USER AGENT SPOOFING)