user-overrides.js (5050B)
1 // use quad9 2 user_pref("network.trr.mode", 3); 3 user_pref("network.trr.default_provider_uri", "https://dns.quad9.net/dns-query"); 4 user_pref("network.trr.uri", "https://dns.quad9.net/dns-query"); 5 user_pref("network.trr.custom_uri", "https://dns.quad9.net/dns-query"); 6 user_pref("network.trr.bootstrapAddress", "9.9.9.9"); 7 8 // keep ipv6 enabled 9 user_pref("network.dns.disableIPv6", false); 10 11 // enable search engines 12 user_pref("keyword.enabled", true); 13 14 // disk caching; placebo(?) 15 user_pref("browser.cache.disk.enable", true); 16 17 // enable favicons 18 user_pref("browser.shell.shortcutFavicons", true); 19 20 // don't use firefox's password manager; it is garbage 21 user_pref("signon.rememberSignons", false); 22 user_pref("signon.generation.enabled", false); 23 user_pref("signon.management.page.breach-alerts.enabled", false); 24 25 // pocket is proprietary garbage; get rid of it 26 user_pref("extensions.pocket.enabled", false); 27 28 // disable mozilla account 29 user_pref("identity.fxaccounts.enabled", false); 30 31 // disable reader view 32 user_pref("reader.parse-on-load.enabled", false); 33 34 // disable container tabs 35 user_pref("privacy.userContext.enabled", false); 36 user_pref("privacy.userContext.ui.enabled", false); 37 38 // no page close confirmation 39 user_pref("dom.disable_beforeunload", true); 40 41 // set downloads dir 42 user_pref("browser.download.folderList", 2); 43 user_pref("browser.download.dir", "/home/mc/dl"); 44 45 // this doesn't do anything 46 user_pref("privacy.donottrackheader.enabled", true); 47 48 // colors 49 user_pref("browser.display.foreground_color", "#ffffff"); 50 user_pref("browser.display.background_color", "#000000"); 51 52 // https://wiki.mozilla.org/Firefox/Activity_Stream 53 user_pref("browser.newtabpage.activity-stream.feeds.topsites", false); 54 user_pref("browser.newtabpage.activity-stream.section.highlights.includeBookmarks", false); 55 user_pref("browser.newtabpage.activity-stream.section.highlights.includeDownloads", false); 56 user_pref("browser.newtabpage.activity-stream.section.highlights.includeVisited", false); 57 user_pref("browser.newtabpage.activity-stream.showSearch", false); 58 59 // disable safe browsing; it apparently phones home to google 60 user_pref("browser.safebrowsing.downloads.enabled", false); 61 user_pref("browser.safebrowsing.downloads.remote.block_potentially_unwanted", false); 62 user_pref("browser.safebrowsing.downloads.remote.block_uncommon", false); 63 user_pref("browser.safebrowsing.malware.enabled", false); 64 user_pref("browser.safebrowsing.phishing.enabled", false); 65 66 // do not underline links 67 user_pref("browser.underline_anchors", false); 68 69 // use ddg as default search engine, the 'best' of the default search engines 70 // EDIT: doesn't work 71 user_pref("browser.urlbar.placeholderName", "DuckDuckGo"); 72 73 // no suggestions in address bar 74 user_pref("browser.urlbar.suggest.bookmark", false); 75 user_pref("browser.urlbar.suggest.engines", false); 76 user_pref("browser.urlbar.suggest.history", false); 77 user_pref("browser.urlbar.suggest.openpage", false); 78 user_pref("browser.urlbar.suggest.topsites", false); 79 user_pref("browser.urlbar.showSearchSuggestionsFirst", false); 80 81 // do not warn on quit 82 user_pref("browser.warnOnQuitShortcut", false); 83 84 // hide dictionary 85 user_pref("extensions.ui.dictionary.hidden", true); 86 user_pref("extensions.ui.locale.hidden", true); 87 user_pref("extensions.ui.sitepermission.hidden", true); 88 89 // fonts 90 user_pref("font.minimum-size.x-western", 16); 91 user_pref("font.name.monospace.x-western", "monospace"); 92 user_pref("font.name.sans-serif.x-western", "sans-serif"); 93 user_pref("font.name.serif.x-western", "serif"); 94 user_pref("font.size.monospace.x-western", 16); 95 96 // english is only accepted language 97 user_pref("intl.accept_languages", "en"); 98 99 // don't want spell checker 100 user_pref("layout.spellcheckDefault", 0); 101 102 // handle pdf 103 user_pref("pdfjs.enabledCache.state", false); 104 105 // block permissions 106 user_pref("permissions.default.camera", 2); 107 user_pref("permissions.default.desktop-notification", 2); 108 user_pref("permissions.default.geo", 2); 109 user_pref("permissions.default.microphone", 2); 110 user_pref("permissions.default.xr", 2); 111 user_pref("media.autoplay.default", 5); 112 user_pref("media.hardwaremediakeys.enabled", false); 113 114 // disable buttons 115 user_pref("pref.browser.language.disable_button.remove", false); 116 user_pref("pref.downloads.disable_button.edit_actions", false); 117 user_pref("pref.privacy.disable_button.cookie_exceptions", false); 118 user_pref("pref.privacy.disable_button.tracking_protection_exceptions", false); 119 user_pref("pref.privacy.disable_button.view_passwords_exceptions", false); 120 121 // offline website data 122 user_pref("privacy.cpd.offlineApps", true); 123 124 // what to sanitize 125 user_pref("privacy.sanitize.pending", "[{\"id\":\"newtab-container\",\"itemsToClear\":[],\"options\":{}},{\"id\":\"shutdown\",\"itemsToClear\":[\"cache\",\"offlineApps\",\"history\",\"formdata\",\"downloads\",\"sessions\"],\"options\":{}}]"); 126 user_pref("privacy.clearOnShutdown.offlineApps", true); 127 128 // request english for web sites 129 user_pref("privacy.spoof_english", 2); 130 131 // use system theme by default 132 user_pref("layout.css.prefers-color-scheme.content-override", 2);