Update 'user.js'

This commit is contained in:
Narsil 2021-11-25 11:22:06 +00:00
parent d617c024e3
commit a16a69c836
1 changed files with 14 additions and 65 deletions

79
user.js
View File

@ -686,6 +686,9 @@ user_pref("permissions.delegation.enabled", false);
// Enable user interaction for security by always asking where to download
user_pref("browser.download.useDownloadDir", false);
// -------------------------------------
// Disable downloads panel opening on every download [FF96+]
user_pref("browser.download.alwaysOpenPanel", false);
// -------------------------------------
// Disable adding downloads to the system's "recent documents" list
user_pref("browser.download.manager.addToRecentDocs", false);
//
@ -957,23 +960,8 @@ user_pref("dom.targetBlankNoOpener.enabled", true); // [DEFAULT: true]
// Enforce "window.name" protection [FF82+]
user_pref("privacy.window.name.update.enabled", true); // [DEFAULT: true]
// -------------------------------------
// PrefsCleaner: reset previously active items removed from arkenfox in 79-91
user_pref("browser.newtabpage.activity-stream.asrouter.providers.snippets", "");
// user_pref("browser.send_pings.require_same_host", "");
user_pref("dom.allow_cut_copy", false);
user_pref("dom.vibrator.enabled", false);
// user_pref("media.getusermedia.audiocapture.enabled", "");
// user_pref("media.getusermedia.browser.enabled", "");
// user_pref("media.getusermedia.screensharing.enabled", "");
// user_pref("media.gmp-widevinecdm.visible", "");
// user_pref("network.http.redirection-limit", "");
user_pref("privacy.partition.network_state", true);
// user_pref("security.insecure_connection_icon.enabled", ""); // [DEFAULT: true FF70+]
// user_pref("security.mixed_content.block_active_content", ""); // [DEFAULT: true since at least FF60]
user_pref("security.ssl.enable_ocsp_stapling", false); // [DEFAULT: true FF26+]
// user_pref("webgl.disable-fail-if-major-performance-caveat", ""); // [DEFAULT: true FF86+]
user_pref("webgl.enable-webgl2", false);
// user_pref("webgl.min_capability_mode", "");
// PrefsCleaner: reset previously active items removed from arkenfox FF91+
// placeholder
//
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
// DON'T BOTHER
@ -1143,6 +1131,15 @@ user_pref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.features",
// user_pref("network.manage-offline-status", false); // see bugzilla 620472
// user_pref("xpinstall.signatures.required", false); // enforced extension signing (Nightly/ESR)
//
// MORE
//
// user_pref("security.insecure_connection_icon.enabled", ""); // [DEFAULT: true FF70+]
// user_pref("security.mixed_content.block_active_content", ""); // [DEFAULT: true since at least FF60]
user_pref("security.ssl.enable_ocsp_stapling", false); // [DEFAULT: true FF26+]
// user_pref("webgl.disable-fail-if-major-performance-caveat", ""); // [DEFAULT: true FF86+]
user_pref("webgl.enable-webgl2", false);
// user_pref("webgl.min_capability_mode", "");
//
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
// DEPRECATED / REMOVED / LEGACY / RENAMED
// >>>>>>>>>>>>>>>>>>>>>
@ -1157,54 +1154,6 @@ user_pref("security.ssl3.rsa_des_ede3_sha", false); // 3DES
// Limit font visibility (Windows, Mac, some Linux) [FF79+]
// user_pref("layout.css.font-visibility.level", 1);
// -------------------------------------
// ESR78.x still uses all the following prefs
//
// FF79
// Enforce fallback text encoding to match en-US
user_pref("intl.charset.fallback.override", "windows-1252");
// -------------------------------------
// FF82
// Disable geographically specific results/search engines e.g. "browser.search.*.US"
user_pref("browser.search.geoSpecificDefaults", false);
user_pref("browser.search.geoSpecificDefaults.url", "");
// -------------------------------------
// FF86
// Disable SSL Error Reporting
user_pref("security.ssl.errorReporting.automatic", false);
user_pref("security.ssl.errorReporting.enabled", false);
user_pref("security.ssl.errorReporting.url", "");
// -------------------------------------
// Disable hiding mime types (Options>General>Applications) not associated with a plugin
user_pref("browser.download.hide_plugins_without_extensions", false);
// -------------------------------------
// FF87
// Disable Activity Stream recent Highlights in the Library [FF57+]
// user_pref("browser.library.activity-stream.enabled", false);
// -------------------------------------
// Disable PointerEvents
user_pref("dom.w3c_pointer_events.enabled", false);
// -------------------------------------
// FF89
// Disable sending Flash crash reports
user_pref("dom.ipc.plugins.flash.subprocess.crashreporter.enabled", false);
// -------------------------------------
// Disable sending the URL of the website where a plugin crashed
user_pref("dom.ipc.plugins.reportCrashURL", false);
// -------------------------------------
// Block unencrypted requests from Flash on encrypted pages to mitigate MitM attacks [FF59+]
user_pref("security.mixed_content.block_object_subrequest", true);
// -------------------------------------
// Disable Flash plugin
// 0=deactivated, 1=ask, 2=enabled
user_pref("plugin.state.flash", 0); // [DEFAULT: 1]
// -------------------------------------
// FF90
// Disable FTP [FF60+]
// user_pref("network.ftp.enabled", false); // [DEFAULT: false FF88+]
// -------------------------------------
// Enforce no offline cache storage (appCache) [FF71+]
user_pref("browser.cache.offline.storage.enable", false); // [DEFAULT: false FF84+]
// -------------------------------------
// Verify user.js is applied
user_pref("_config.applied", true);
//