@@ -533,6 +533,9 @@ user_pref("security.cert_pinning.enforcement_level", 2);
533
533
user_pref ( "security.mixed_content.block_active_content" , true ) ; // [DEFAULT: true]
534
534
/* 1241: disable insecure passive content (such as images) on https pages [SETUP-WEB] ***/
535
535
user_pref ( "security.mixed_content.block_display_content" , true ) ;
536
+ /* 1243: block unencrypted requests from Flash on encrypted pages to mitigate MitM attacks [FF59+]
537
+ * [1] https://bugzilla.mozilla.org/1190623 ***/
538
+ user_pref ( "security.mixed_content.block_object_subrequest" , true ) ;
536
539
537
540
/** CIPHERS [see the section 1200 intro] ***/
538
541
/* 1261: disable 3DES (effective key size < 128)
@@ -569,6 +572,10 @@ user_pref("security.insecure_connection_icon.enabled", true); // [FF59+]
569
572
user_pref ( "security.insecure_connection_text.enabled" , true ) ; // [FF60+]
570
573
// user_pref("security.insecure_connection_icon.pbmode.enabled", true);
571
574
// user_pref("security.insecure_connection_text.pbmode.enabled", true);
575
+ /* 1280: display warnings when insecure HTTP connections are made ***/
576
+ user_pref ( "security.warn_entering_weak" , true ) ;
577
+ user_pref ( "security.warn_leaving_secure" , true ) ;
578
+ user_pref ( "security.warn_viewing_mixed" , true ) ;
572
579
573
580
/*** [SECTION 1400]: FONTS ***/
574
581
user_pref ( "_user.js.parrot" , "1400 syntax error: the parrot's bereft of life!" ) ;
@@ -849,6 +856,9 @@ user_pref("dom.webaudio.enabled", false);
849
856
850
857
/*** [SECTION 2600]: MISCELLANEOUS ***/
851
858
user_pref ( "_user.js.parrot" , "2600 syntax error: the parrot's run down the curtain!" ) ;
859
+ /* 2602: disable sending additional analytics to web servers
860
+ * [1] https://developer.mozilla.org/docs/Web/API/Navigator/sendBeacon ***/
861
+ user_pref ( "beacon.enabled" , false ) ;
852
862
/* 2607: disable various developer tools in browser context
853
863
* [SETTING] Devtools>Advanced Settings>Enable browser chrome and add-on debugging toolboxes
854
864
* [1] https://github.com/pyllyukko/user.js/issues/179#issuecomment-246468676 ***/
@@ -945,6 +955,10 @@ user_pref("_user.js.parrot", "2700 syntax error: the parrot's joined the bleedin
945
955
* [NOTE] You can set exceptions under site permissions or use an extension
946
956
* [SETTING] Privacy & Security>Content Blocking>Custom>Choose what to block>Cookies ***/
947
957
user_pref ( "network.cookie.cookieBehavior" , 2 ) ;
958
+ /* 2710: disable DOM (Document Object Model) Storage
959
+ * [WARNING] This will break a LOT of sites' functionality AND extensions!
960
+ * You are better off using an extension for more granular control ***/
961
+ // user_pref("dom.storage.enabled", false);
948
962
/* 2720: enforce IndexedDB (IDB) as enabled
949
963
* IDB is required for extensions and Firefox internals (even before FF63 in [1])
950
964
* To control *website* IDB data, control allowing cookies and service workers, or use
@@ -1201,6 +1215,12 @@ user_pref("dom.w3c_pointer_events.enabled", false);
1201
1215
// [1] https://bugzilla.mozilla.org/buglist.cgi?bug_id=232227,1330876
1202
1216
user_pref("ui.use_standins_for_native_colors", true);
1203
1217
// * * * /
1218
+ // FF41+
1219
+ // 4620: mitigate fingerprinting via canvas
1220
+ // [NOTE] This setting has been removed from gHacks v67 (see [1]) but is still enabled by default.
1221
+ // [1] https://github.com/ghacksuserjs/ghacks-user.js/commit/8b07fd57d0f8a31dab25661d51235fe1b0c6360c
1222
+ user_pref("canvas.capturestream.enabled", false);
1223
+ // * * * /
1204
1224
// ***/
1205
1225
1206
1226
/*** [SECTION 4700]: RFP ALTERNATIVES (NAVIGATOR / USER AGENT (UA) SPOOFING)
@@ -1229,6 +1249,8 @@ user_pref("_user.js.parrot", "4700 syntax error: the parrot's taken 'is last bow
1229
1249
// user_pref("general.platform.override", ""); // [HIDDEN PREF]
1230
1250
/* 4706: navigator.oscpu ***/
1231
1251
// user_pref("general.oscpu.override", ""); // [HIDDEN PREF]
1252
+ /* 4707: Limit user-agent data by imitating Firefox's user-agent */
1253
+ // user_pref("general.useragent.compatMode.firefox", true);
1232
1254
1233
1255
/*** [SECTION 5000]: PERSONAL
1234
1256
Non-project related but useful. If any of these interest you, add them to your overrides ***/
@@ -1288,6 +1310,14 @@ user_pref("mail.tabs.autoHide", true);
1288
1310
* true=Show just the display name for people in the address book (default)
1289
1311
* false=Show both the email address and display name. ***/
1290
1312
user_pref ( "mail.showCondensedAddresses" , false ) ;
1313
+ /* 6010: Disable "Filelink for Large Attachments" feature
1314
+ * [1] https://support.thunderbird.net/kb/filelink-large-attachments ***/
1315
+ user_pref ( "mail.cloud_files.enabled" , false ) ;
1316
+ user_pref ( "mail.cloud_files.inserted_urls.footer.link" , "" ) ;
1317
+ /* 6020: Don't hide cookies and passwords related (advanced?) buttons ***/
1318
+ user_pref ( "pref.privacy.disable_button.view_cookies" , false ) ;
1319
+ user_pref ( "pref.privacy.disable_button.cookie_exceptions" , false ) ;
1320
+ user_pref ( "pref.privacy.disable_button.view_passwords" , false ) ;
1291
1321
1292
1322
/** HEADERS ***/
1293
1323
/* 6004:
@@ -1305,7 +1335,6 @@ user_pref("mailnews.headers.showUserAgent", false);
1305
1335
* If you don't set it to something in your SMTP server's domain it may increase your spam
1306
1336
* score. ***/
1307
1337
user_pref ( "mail.smtpserver.default.hello_argument" , "[127.0.0.1]" ) ;
1308
-
1309
1338
/* 6007: Displayed dates and times
1310
1339
* When your e-mail program displays the e-mail's date and time, it normally converts them to your
1311
1340
* time zone. If your computer's time zone settings are wrong, then you will see the wrong time
@@ -1442,6 +1471,10 @@ user_pref("purple.logging.log_ims", false);
1442
1471
user_pref ( "purple.logging.log_system" , false ) ;
1443
1472
/* 6205: Disable typing notifications ***/
1444
1473
user_pref ( "purple.conversations.im.send_typing" , false ) ;
1474
+ /* 6210: When chat is enabled, do not connect to accounts automatically
1475
+ * 0=Do not connect / show the account manager,
1476
+ * 1=Connect automatically. (Default) ***/
1477
+ // user_pref("messenger.startup.action", 0);
1445
1478
1446
1479
/** CALENDAR ***/
1447
1480
/* 6206: Disable calendar integration ***/
0 commit comments