| ... | ... |
@@ -4,3 +4,102 @@ |
| 4 | 4 |
// Only from the current user's profile. |
| 5 | 5 |
// https://extensionworkshop.com/documentation/enterprise/enterprise-distribution/#controlling-automatic-installations |
| 6 | 6 |
user_pref("extensions.autoDisableScopes", 14);
|
| 7 |
+ |
|
| 8 |
+/// Preferences |
|
| 9 |
+// about:preferences |
|
| 10 |
+ |
|
| 11 |
+//// General |
|
| 12 |
+// about:preferences#general |
|
| 13 |
+ |
|
| 14 |
+///// Startup |
|
| 15 |
+// Open previous windows and tabs |
|
| 16 |
+user_pref("browser.startup.page", 3);
|
|
| 17 |
+ |
|
| 18 |
+///// Tabs |
|
| 19 |
+// Confirm before closing multiple tabs |
|
| 20 |
+user_pref("browser.tabs.warnOnClose", true);
|
|
| 21 |
+ |
|
| 22 |
+///// Digital Rights Management (DRM) Content |
|
| 23 |
+// Play DRM-controlled content |
|
| 24 |
+user_pref("media.eme.enabled", true);
|
|
| 25 |
+ |
|
| 26 |
+///// Browsing |
|
| 27 |
+// Recommend extensions as you browse |
|
| 28 |
+user_pref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.addons", false);
|
|
| 29 |
+// Recommend features as you browse |
|
| 30 |
+user_pref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.features", false);
|
|
| 31 |
+ |
|
| 32 |
+///// Network Settings |
|
| 33 |
+// Enable DNS over HTTPS |
|
| 34 |
+// user_pref("doh-rollout.disable-heuristics", true);
|
|
| 35 |
+// user_pref("network.trr.mode", 2);
|
|
| 36 |
+// Use Provider: Cloudflare (Default) |
|
| 37 |
+// user_pref("network.trr.uri", "https://mozilla.cloudflare-dns.com/dns-query");
|
|
| 38 |
+// Use Provider: Custom |
|
| 39 |
+// user_pref("network.trr.uri", "https://dns.quad9.net/dns-query");
|
|
| 40 |
+// user_pref("network.trr.custom_uri", "https://dns.quad9.net/dns-query");
|
|
| 41 |
+ |
|
| 42 |
+//// Home |
|
| 43 |
+// about:preferences#home |
|
| 44 |
+ |
|
| 45 |
+///// New Windows and Tabs |
|
| 46 |
+// Homepage and new windows: Blank Page |
|
| 47 |
+user_pref("browser.startup.homepage", "about:blank");
|
|
| 48 |
+// New tabs: Blank Page |
|
| 49 |
+user_pref("browser.newtabpage.enabled", false);
|
|
| 50 |
+ |
|
| 51 |
+///// Firefox Home Content |
|
| 52 |
+// Shortcuts: Sponsored shortcuts |
|
| 53 |
+user_pref("browser.newtabpage.activity-stream.showSponsoredTopSites", false);
|
|
| 54 |
+ |
|
| 55 |
+//// Search |
|
| 56 |
+// about:preferences#search |
|
| 57 |
+ |
|
| 58 |
+///// Default Search Engine |
|
| 59 |
+// DuckDuckGo |
|
| 60 |
+// user_pref("browser.urlbar.placeholderName", "DuckDuckGo");
|
|
| 61 |
|
|
| 62 |
+user_pref("browser.urlbar.placeholderName", "Google");
|
|
| 63 |
+ |
|
| 64 |
+///// Search Suggestions |
|
| 65 |
+// Show search suggestions ahead of browsing history in address bar results |
|
| 66 |
+user_pref("browser.urlbar.showSearchSuggestionsFirst", false);
|
|
| 67 |
+ |
|
| 68 |
+//// Privacy & Security |
|
| 69 |
+// about:preferences#privacy |
|
| 70 |
+ |
|
| 71 |
+///// Browser Privacy |
|
| 72 |
+// Enhanced Tracking Protection: Strict |
|
| 73 |
+user_pref("browser.contentblocking.category", "strict");
|
|
| 74 |
+user_pref("network.cookie.cookieBehavior", 5);
|
|
| 75 |
+user_pref("network.http.referer.disallowCrossSiteRelaxingDefault", true);
|
|
| 76 |
+user_pref("privacy.annotate_channels.strict_list.enabled", true);
|
|
| 77 |
+user_pref("privacy.partition.network_state.ocsp_cache", true);
|
|
| 78 |
+user_pref("privacy.trackingprotection.enabled", true);
|
|
| 79 |
+user_pref("privacy.trackingprotection.socialtracking.enabled", true);
|
|
| 80 |
+// Logins and Passwords: Ask to save logins and passwords for websites |
|
| 81 |
+user_pref("signon.rememberSignons", false);
|
|
| 82 |
+// Address Bar: Browsing history |
|
| 83 |
+user_pref("browser.urlbar.suggest.history", false);
|
|
| 84 |
+// Address Bar: Bookmarks |
|
| 85 |
+user_pref("browser.urlbar.suggest.bookmark", true);
|
|
| 86 |
+// Address Bar: Open tabs |
|
| 87 |
+user_pref("browser.urlbar.suggest.openpage", false);
|
|
| 88 |
+// Address Bar: Shortcuts |
|
| 89 |
+user_pref("browser.urlbar.suggest.topsites", false);
|
|
| 90 |
+// Address Bar: Search engines |
|
| 91 |
+user_pref("browser.urlbar.suggest.engines", false);
|
|
| 92 |
+ |
|
| 93 |
+///// Firefox Data Collection and Use |
|
| 94 |
+// Allow Firefox to send technical and interaction data to Mozilla |
|
| 95 |
+user_pref("datareporting.healthreport.uploadEnabled", false);
|
|
| 96 |
+// Allow Firefox to install and run studies |
|
| 97 |
+user_pref("app.shield.optoutstudies.enabled", false);
|
|
| 98 |
+ |
|
| 99 |
+///// Security |
|
| 100 |
+// Block dangerous and deceptive content |
|
| 101 |
+user_pref("browser.safebrowsing.malware.enabled", false);
|
|
| 102 |
+user_pref("browser.safebrowsing.phishing.enabled", false);
|
|
| 103 |
+// HTTPS-Only Mode: Enable HTTPS-Only Mode in all windows |
|
| 104 |
+user_pref("dom.security.https_only_mode", true);
|
|
| 105 |
+user_pref("dom.security.https_only_mode_ever_enabled", true);
|