privacy/firefox/user-overrides.js

61 lines
2.7 KiB
JavaScript
Raw Normal View History

2022-02-19 09:29:32 +00:00
/* See https://github.com/arkenfox/user.js/wiki/3.2-Overrides-%5BCommon%5D */
/* override recipe: RFP is not for me ***/
user_pref("privacy.resistFingerprinting", false); // 4501
user_pref("privacy.resistFingerprinting.letterboxing", false); // 4504 [pointless if not using RFP]
user_pref("webgl.disabled", false); // 4520 [mostly pointless if not using RFP]
/* override-recipe: desktop: alter new window max sizes **/
// user_pref("privacy.window.maxInnerWidth", "200s"); // 4502 [default 1600 in user.js v95]
// user_pref("privacy.window.maxInnerHeight", "100s"); // 4502 [default 900 in user.js v95]
/* Enable green icons again */
user_pref("security.secure_connection_icon_color_gray", false);
user_pref("security.insecure_connection_icon.enabled", true);
user_pref("security.insecure_connection_icon.pbmode.enabled", true);
user_pref("security.insecure_connection_text.enabled", true);
user_pref("security.insecure_connection_text.pbmode.enabled", true);
2022-02-19 09:29:32 +00:00
/* Keep history */
user_pref("privacy.clearOnShutdown.history", false); // [DEFAULT: true]
user_pref("places.history.enabled", true);
user_pref("privacy.cpd.history", false); // 2812 to match when you use Ctrl-Shift-Del
/* Disable logins */
user_pref("services.sync.engine.passwords", false);
/* Enable faster scroll */
user_pref("general.smoothScroll", false);
user_pref("general.smoothScroll.pages", false);
user_pref("mousewheel.min_line_scroll_amount", 40);
/* Avoid non-playing, see https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1874808 */
user_pref("media.autoplay.blocking_policy", 1);
2022-02-19 09:29:32 +00:00
/* Do not warn about config */
user_pref("general.warnOnAboutConfig", false);
/* DNS over HTTPS
adjust the following to your liking
2023-07-22 14:46:47 +00:00
0 = automatically decide, 1 = use system DNS, 2 = use DNS-over-HTTPS resolver, select one in UI under network, otherwise you might end up with cloudflare
2022-02-19 09:29:32 +00:00
*/
user_pref("network.trr.mode", 0);
user_pref("network.trr.uri", "https://dns.myservermanager.com/dns-query");
2023-07-22 14:46:47 +00:00
user_pref("network.trr.resolvers", '[{ "name": "dns.myservermanager.com", "url": "https://dns.myservermanager.com/dns-query" }]');
user_pref("network.trr.excluded-domains", "fritz.box,fritz.nas");
2023-08-31 21:51:04 +00:00
user_pref("network.dns.disableIPv6", false);
user_pref("network.dns.disablePrefetch", false);
2023-07-22 14:46:47 +00:00
//user_pref("security.OCSP.enabled", 0);
//user_pref("security.OCSP.require", false);
2022-02-19 09:29:32 +00:00
/* Disable some default extensions */
user_pref("extensions.pocket.enabled", false);
user_pref("extensions.screenshots.disabled", true);
user_pref("extensions.systemAddon.update.enabled", false);
2023-07-22 14:46:47 +00:00
user_pref("extensions.quarantinedDomains.enabled", false);
2022-02-19 09:29:32 +00:00
/* Enable keyword search */
user_pref("keyword.enabled", true);
user_pref("browser.search.suggest.enabled", true);
user_pref("browser.urlbar.suggest.searches", true);