|
1 | 1 | /****** |
2 | 2 | * name: arkenfox user.js |
3 | | -* date: 10 March 2022 |
4 | | -* version: 98 |
| 3 | +* date: 9 April 2022 |
| 4 | +* version: 99 |
5 | 5 | * url: https://github.com/arkenfox/user.js |
6 | 6 | * license: MIT: https://github.com/arkenfox/user.js/blob/master/LICENSE.txt |
7 | 7 |
|
@@ -854,7 +854,7 @@ user_pref("privacy.sanitize.timeSpan", 0); |
854 | 854 | 418986 - limit window.screen & CSS media queries (FF41) |
855 | 855 | [TEST] https://arkenfox.github.io/TZP/tzp.html#screen |
856 | 856 | 1281949 - spoof screen orientation (FF50) |
857 | | - 1281963 - hide the contents of navigator.plugins and navigator.mimeTypes (FF50) |
| 857 | + 1281963 - hide the contents of navigator.plugins and navigator.mimeTypes (FF50-99) |
858 | 858 | FF53: fixes GetSupportedNames in nsMimeTypeArray and nsPluginArray (1324044) |
859 | 859 | 1330890 - spoof timezone as UTC0 (FF55) |
860 | 860 | 1360039 - spoof navigator.hardwareConcurrency as 2 (FF55) |
@@ -899,6 +899,7 @@ user_pref("privacy.sanitize.timeSpan", 0); |
899 | 899 | 1461454 - spoof smooth=true and powerEfficient=false for supported media in MediaCapabilities (FF82) |
900 | 900 | FF91+ |
901 | 901 | 531915 - use fdlibm's sin, cos and tan in jsmath (FF93, ESR91.1) |
| 902 | + 1756280 - enforce navigator.pdfViewerEnabled as true and plugins/mimeTypes as hard-coded values (FF100) |
902 | 903 | ***/ |
903 | 904 | user_pref("_user.js.parrot", "4500 syntax error: the parrot's popped 'is clogs"); |
904 | 905 | /* 4501: enable privacy.resistFingerprinting [FF41+] |
@@ -1081,9 +1082,6 @@ user_pref("extensions.blocklist.enabled", true); // [DEFAULT: true] |
1081 | 1082 | /* 6002: enforce no referer spoofing |
1082 | 1083 | * [WHY] Spoofing can affect CSRF (Cross-Site Request Forgery) protections ***/ |
1083 | 1084 | user_pref("network.http.referer.spoofSource", false); // [DEFAULT: false] |
1084 | | -/* 6003: enforce CSP (Content Security Policy) |
1085 | | - * [1] https://developer.mozilla.org/docs/Web/HTTP/CSP ***/ |
1086 | | -user_pref("security.csp.enable", true); // [DEFAULT: true] |
1087 | 1085 | /* 6004: enforce a security delay on some confirmation dialogs such as install, open/save |
1088 | 1086 | * [1] https://www.squarefree.com/2004/07/01/race-conditions-in-security-dialogs/ ***/ |
1089 | 1087 | user_pref("security.dialog_enable_delay", 1000); // [DEFAULT: 1000] |
@@ -1353,6 +1351,11 @@ user_pref("app.update.background.scheduling.enabled", false); |
1353 | 1351 | // 7006: onions - replaced by new 7006 "allowlist" |
1354 | 1352 | // [-] https://bugzilla.mozilla.org/1744006 |
1355 | 1353 | // user_pref("dom.securecontext.whitelist_onions", true); // 1382359 |
| 1354 | +// FF99 |
| 1355 | +// 6003: enforce CSP (Content Security Policy) |
| 1356 | + // [1] https://developer.mozilla.org/docs/Web/HTTP/CSP |
| 1357 | + // [-] https://bugzilla.mozilla.org/1754301 |
| 1358 | +user_pref("security.csp.enable", true); // [DEFAULT: true] |
1356 | 1359 | // ***/ |
1357 | 1360 |
|
1358 | 1361 | /* END: internal custom pref to test for syntax errors ***/ |
|
0 commit comments