Advertisement
Guest User

prefs

a guest
Apr 23rd, 2022
22
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. May i ask does anyone know which of the following prefs causes discord to think that i'm using an outdated browser?
  2. Because i am not, i use latest firefox version.
  3.  
  4. //start
  5. defaultPref("librewolf.cfg.version", "6.2");
  6. defaultPref("browser.contentblocking.category", "strict");
  7. defaultPref("network.cookie.cookieBehavior", 5); // enforce dFPI
  8. defaultPref("privacy.partition.serviceWorkers", true); // isolate service workers
  9. defaultPref("network.cookie.lifetimePolicy", 2); // keep cookies until end of the session, then clear
  10. defaultPref("network.cookie.thirdparty.sessionOnly", true);
  11. defaultPref("network.cookie.thirdparty.nonsecureSessionOnly", true);
  12. defaultPref("privacy.clearOnShutdown.cookies", false);
  13. defaultPref("privacy.sanitize.sanitizeOnShutdown", true);
  14. defaultPref("privacy.sanitize.timeSpan", 0);
  15. defaultPref("browser.cache.disk.enable", false); // disable disk cache
  16. defaultPref("browser.privatebrowsing.forceMediaMemoryCache", true);
  17. defaultPref("media.memory_cache_max_size", 65536);
  18. defaultPref("browser.shell.shortcutFavicons", false);
  19. defaultPref("browser.pagethumbnails.capturing_disabled", true);
  20. defaultPref("browser.helperApps.deleteTempFileOnExit", true); // delete temporary files opened with external apps
  21. defaultPref("privacy.history.custom", true);
  22. defaultPref("browser.privatebrowsing.autostart", false);
  23. defaultPref("browser.formfill.enable", false); // disable form history
  24. defaultPref("browser.sessionstore.privacy_level", 2); // prevent websites from storing session data like cookies and forms
  25. defaultPref("browser.sessionstore.interval", 60000); // increase time between session saves
  26. defaultPref("privacy.query_stripping.enabled", true);
  27. defaultPref("privacy.query_stripping.strip_list", "__hsfp __hssc __hstc __s _hsenc _openstat dclid fbclid gbraid gclid hsCtaTracking igshid mc_eid ml_subscriber ml_subscriber_hash msclkid oly_anon_id oly_enc_id rb_clickid s_cid twclid vero_conv vero_id wbraid wickedid yclid");
  28. defaultPref("librewolf.uBO.assetsBootstrapLocation", "https://gitlab.com/librewolf-community/browser/source/-/raw/main/assets/uBOAssets.json");
  29. defaultPref("dom.security.https_only_mode", true); // only allow https in all windows, including private browsing
  30. defaultPref("network.auth.subresource-http-auth-allow", 1); // block HTTP authentication credential dialogs
  31. defaultPref("security.mixed_content.block_display_content", true); // block insecure passive content
  32. defaultPref("network.dns.disableIPv6", true);
  33. defaultPref("network.http.referer.XOriginPolicy", 0); // default, might be worth changing to 2 to stop sending them completely
  34. defaultPref("network.http.referer.XOriginTrimmingPolicy", 2); // trim referer to only send scheme, host and port
  35. defaultPref("media.peerconnection.ice.no_host", true); // don't use any private IPs for ICE candidate
  36. defaultPref("media.peerconnection.ice.default_address_only", true); // use a single interface for ICE candidates, the vpn one when a vpn is used
  37. defaultPref("network.gio.supported-protocols", ""); // disable gio as it could bypass proxy
  38. defaultPref("network.file.disable_unc_paths", true); // hidden, disable using uniform naming convention to prevent proxy bypass
  39. defaultPref("network.proxy.socks_remote_dns", true); // forces dns query through the proxy when using one
  40. defaultPref("media.peerconnection.ice.proxy_only_if_behind_proxy", true); // force webrtc inside proxy when one is used
  41. defaultPref("network.trr.confirmationNS", "skip"); // skip undesired doh test connection
  42. defaultPref("network.dns.disablePrefetch", true); // disable dns prefetching
  43. defaultPref("network.trr.mode", 2);
  44. defaultPref("network.trr.uri", "https://dns.quad9.net/dns-query");
  45. defaultPref("network.predictor.enabled", false);
  46. defaultPref("network.prefetch-next", false);
  47. defaultPref("network.http.speculative-parallel-limit", 0);
  48. defaultPref("browser.places.speculativeConnect.enabled", false);
  49. defaultPref("browser.urlbar.dnsResolveSingleWordsAfterSearch", 0);
  50. defaultPref("browser.urlbar.speculativeConnect.enabled", false);
  51. defaultPref("browser.fixup.alternate.enabled", false);
  52. defaultPref("network.manage-offline-status", false);
  53. defaultPref("privacy.resistFingerprinting", true);
  54. defaultPref("privacy.resistFingerprinting.block_mozAddonManager", true); // prevents rfp from breaking AMO
  55. defaultPref("browser.startup.blankWindow", false); // if set to true it breaks RFP windows resizing
  56. defaultPref("browser.display.use_system_colors", false); // default but enforced due to RFP
  57. defaultPref("privacy.window.maxInnerWidth", 1920);
  58. defaultPref("privacy.window.maxInnerHeight", 1080);
  59. defaultPref("privacy.resistFingerprinting.letterboxing", false);
  60. defaultPref("webgl.disabled", true);
  61. defaultPref("fission.autostart", true);
  62. defaultPref("security.cert_pinning.enforcement_level", 2); // enable strict public key pinning, might cause issues with AVs
  63. defaultPref("security.pki.sha1_enforcement_level", 1); // disable sha-1 certificates
  64. defaultPref("security.ssl.require_safe_negotiation", true);
  65. defaultPref("security.ssl.treat_unsafe_negotiation_as_broken", true);
  66. defaultPref("security.remote_settings.crlite_filters.enabled", true);
  67. defaultPref("security.pki.crlite_mode", 2); // mode 2 means enforce CRL checks
  68. defaultPref("security.OCSP.enabled", 1); // default
  69. defaultPref("security.OCSP.require", true); // set to hard-fail
  70. defaultPref("security.tls.enable_0rtt_data", false); // disable 0 RTT to improve tls 1.3 security
  71. defaultPref("security.tls.version.enable-deprecated", false); // make TLS downgrades session only by enforcing it with pref()
  72. defaultPref("browser.ssl_override_behavior", 1);
  73. defaultPref("browser.xul.error_pages.expert_bad_cert", true);
  74. defaultPref("permissions.delegation.enabled", false); // force permission request to show real origin
  75. defaultPref("permissions.manager.defaultsUrl", ""); // revoke special permissions for some mozilla domains
  76. defaultPref("gfx.font_rendering.opentype_svg.enabled", false); // disale svg opentype fonts
  77. defaultPref("browser.safebrowsing.malware.enabled", false);
  78. defaultPref("browser.safebrowsing.phishing.enabled", false);
  79. defaultPref("browser.safebrowsing.blockedURIs.enabled", false);
  80. defaultPref("browser.safebrowsing.provider.google4.gethashURL", "");
  81. defaultPref("browser.safebrowsing.provider.google4.updateURL", "");
  82. defaultPref("browser.safebrowsing.provider.google.gethashURL", "");
  83. defaultPref("browser.safebrowsing.provider.google.updateURL", "");
  84. defaultPref("browser.safebrowsing.downloads.enabled", false);
  85. defaultPref("browser.safebrowsing.downloads.remote.enabled", false);
  86. defaultPref("browser.safebrowsing.downloads.remote.url", "");
  87. defaultPref("browser.safebrowsing.downloads.remote.block_potentially_unwanted", false);
  88. defaultPref("browser.safebrowsing.downloads.remote.block_uncommon", false);
  89. defaultPref("browser.safebrowsing.passwords.enabled", false);
  90. defaultPref("browser.safebrowsing.provider.google4.dataSharing.enabled", false);
  91. defaultPref("browser.safebrowsing.provider.google4.dataSharingURL", "");
  92. defaultPref("security.csp.enable", true); // enforce csp, default
  93. defaultPref("network.IDN_show_punycode", true); // use punycode in idn to prevent spoofing
  94. defaultPref("pdfjs.enableScripting", false); // disable js scripting in the built-in pdf reader
  95. defaultPref("geo.provider.network.url", "https://location.services.mozilla.com/v1/geolocate?key=%MOZILLA_API_KEY%");
  96. defaultPref("geo.provider.ms-windows-location", false); // [WINDOWS]
  97. defaultPref("geo.provider.use_corelocation", false); // [MAC]
  98. defaultPref("geo.provider.use_gpsd", false); // [LINUX]
  99. defaultPref("javascript.use_us_english_locale", true);
  100. defaultPref("intl.accept_languages", "en-US, en");
  101. defaultPref("browser.region.network.url", "");
  102. defaultPref("browser.region.update.enabled", false);
  103. defaultPref("media.eme.enabled", false); // master switch for drm content
  104. defaultPref("media.gmp-manager.url", "data:text/plain,"); // prevent checks for plugin updates when drm is disabled
  105. defaultPref("media.gmp-provider.enabled", false);
  106. defaultPref("media.gmp-gmpopenh264.enabled", false);
  107. defaultPref("browser.urlbar.suggest.searches", false);
  108. defaultPref("browser.search.suggest.enabled", false);
  109. defaultPref("browser.search.update", false);
  110. defaultPref("browser.urlbar.trimURLs", false);
  111. defaultPref("browser.urlbar.quicksuggest.enabled", false);
  112. defaultPref("browser.urlbar.quicksuggest.enabled", false);
  113. defaultPref("browser.urlbar.suggest.quicksuggest.nonsponsored", false);
  114. defaultPref("browser.urlbar.suggest.quicksuggest.sponsored", false);
  115. defaultPref("browser.urlbar.quicksuggest.dataCollection.enabled", false); // default
  116. defaultPref("browser.download.useDownloadDir", false);
  117. defaultPref("browser.download.autohideButton", false); // do not hide download button automatically
  118. defaultPref("browser.download.manager.addToRecentDocs", false); // do not add downloads to recents
  119. defaultPref("browser.download.alwaysOpenPanel", false); // do not expand toolbar menu for every download, we already have enough interaction
  120. defaultPref("media.autoplay.blocking_policy", 2);
  121. defaultPref("media.autoplay.default", 5);
  122. defaultPref("dom.disable_beforeunload", true); // disable "confirm you want to leave" pop-ups
  123. defaultPref("dom.disable_open_during_load", true); // block pop-ups windows
  124. defaultPref("dom.popup_allowed_events", "click dblclick mousedown pointerdown");
  125. defaultPref("dom.disable_window_move_resize", true);
  126. defaultPref("browser.link.open_newwindow", 3);
  127. defaultPref("browser.link.open_newwindow.restriction", 0);
  128. defaultPref("middlemouse.contentLoadURL", false); // prevent mouse middle click from opening links
  129. defaultPref("extensions.webextensions.restrictedDomains", "");
  130. defaultPref("extensions.enabledScopes", 5); // hidden
  131. defaultPref("extensions.postDownloadThirdPartyPrompt", false);
  132. defaultPref("extensions.systemAddon.update.enabled", false);
  133. defaultPref("extensions.systemAddon.update.url", "");
  134. defaultPref("extensions.webcompat-reporter.enabled", false);
  135. defaultPref("extensions.webcompat-reporter.newIssueEndpoint", "");
  136. defaultPref("extensions.webextensions.base-content-security-policy", "default-src 'none'; script-src 'none'; object-src 'none';");
  137. defaultPref("extensions.webextensions.base-content-security-policy.v3", "default-src 'none'; script-src 'none'; object-src 'none';");
  138. defaultPref("app.update.auto", false);
  139. defaultPref("identity.fxaccounts.enabled", false);
  140. defaultPref("signon.rememberSignons", false);
  141. defaultPref("signon.autofillForms", false);
  142. defaultPref("extensions.formautofill.available", "off");
  143. defaultPref("extensions.formautofill.addresses.enabled", false);
  144. defaultPref("extensions.formautofill.creditCards.enabled", false);
  145. defaultPref("extensions.formautofill.creditCards.available", false);
  146. defaultPref("extensions.formautofill.heuristics.enabled", false);
  147. defaultPref("signon.formlessCapture.enabled", false);
  148. defaultPref("privacy.userContext.enabled", true);
  149. defaultPref("privacy.userContext.ui.enabled", true);
  150. defaultPref("devtools.chrome.enabled", false);
  151. defaultPref("devtools.debugger.remote-enabled", false);
  152. defaultPref("devtools.remote.adb.extensionURL", "");
  153. defaultPref("devtools.selfxss.count", 0); // required for devtools console to work
  154. defaultPref("browser.translation.engine", ""); // remove translation engine
  155. defaultPref("accessibility.force_disabled", 1); // block accessibility services
  156. defaultPref("webchannel.allowObject.urlWhitelist", ""); // do not receive objects through webchannels
  157. defaultPref("app.support.baseURL", "https://librewolf.net/docs/faq/#");
  158. defaultPref("browser.search.searchEnginesURL", "https://librewolf.net/docs/faq/#how-do-i-add-a-search-engine");
  159. defaultPref("browser.geolocation.warning.infoURL", "https://librewolf.net/docs/faq/#how-do-i-enable-location-aware-browsing");
  160. defaultPref("app.feedback.baseURL", "https://librewolf.net/#questions");
  161. defaultPref("app.releaseNotesURL", "https://gitlab.com/librewolf-community/browser");
  162. defaultPref("app.releaseNotesURL.aboutDialog", "https://gitlab.com/librewolf-community/browser");
  163. defaultPref("app.update.url.details", "https://gitlab.com/librewolf-community/browser");
  164. defaultPref("app.update.url.manual", "https://gitlab.com/librewolf-community/browser");
  165. defaultPref("browser.startup.homepage_override.mstone", "ignore");
  166. defaultPref("startup.homepage_override_url", "about:blank");
  167. defaultPref("startup.homepage_welcome_url", "about:blank");
  168. defaultPref("startup.homepage_welcome_url.additional", "");
  169. defaultPref("browser.messaging-system.whatsNewPanel.enabled", false);
  170. defaultPref("browser.uitour.enabled", false);
  171. defaultPref("browser.uitour.url", "");
  172. defaultPref("browser.shell.checkDefaultBrowser", false);
  173. defaultPref("browser.newtab.preload", false);
  174. defaultPref("browser.newtabpage.activity-stream.section.highlights.includeDownloads", false);
  175. defaultPref("browser.newtabpage.activity-stream.section.highlights.includeVisited", false);
  176. defaultPref("browser.newtabpage.activity-stream.feeds.topsites", false);
  177. defaultPref("browser.newtabpage.activity-stream.feeds.section.topstories", false);
  178. defaultPref("browser.newtabpage.activity-stream.feeds.system.topstories", false);
  179. defaultPref("browser.newtabpage.activity-stream.feeds.telemetry", false);
  180. defaultPref("browser.newtabpage.activity-stream.feeds.section.topstories.options", "{"hidden":true}"); // hide buggy pocket section from aboutreferences#home
  181. defaultPref("browser.newtabpage.activity-stream.showSponsored", false);
  182. defaultPref("browser.newtabpage.activity-stream.showSponsoredTopSites", false);
  183. defaultPref("browser.newtabpage.activity-stream.telemetry", false);
  184. defaultPref("browser.newtabpage.activity-stream.default.sites", "");
  185. defaultPref("browser.newtabpage.activity-stream.feeds.discoverystreamfeed", false);
  186. defaultPref("browser.newtabpage.activity-stream.discoverystream.enabled", false);
  187. defaultPref("browser.newtabpage.activity-stream.feeds.snippets", false); // default
  188. defaultPref("browser.contentblocking.report.lockwise.enabled", false);
  189. defaultPref("browser.contentblocking.report.monitor.enabled", false);
  190. defaultPref("browser.contentblocking.report.hide_vpn_banner", true);
  191. defaultPref("browser.contentblocking.report.vpn.enabled", false);
  192. defaultPref("browser.contentblocking.report.show_mobile_app", false);
  193. defaultPref("browser.vpn_promo.enabled", false);
  194. defaultPref("extensions.htmlaboutaddons.recommendations.enabled", false);
  195. defaultPref("extensions.getAddons.showPane", false);
  196. defaultPref("extensions.getAddons.cache.enabled", false); // disable fetching of extension metadata
  197. defaultPref("lightweightThemes.getMoreURL", ""); // disable button to get more themes
  198. defaultPref("browser.topsites.useRemoteSetting", false); // hide sponsored shortcuts button
  199. defaultPref("browser.aboutConfig.showWarning", false);
  200. defaultPref("browser.preferences.moreFromMozilla", false);
  201. defaultPref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.features", false);
  202. defaultPref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.addons", false);
  203. defaultPref("toolkit.telemetry.unified", false); // master switch
  204. defaultPref("toolkit.telemetry.enabled", false); // master switch
  205. defaultPref("toolkit.telemetry.server", "data:,");
  206. defaultPref("toolkit.telemetry.archive.enabled", false);
  207. defaultPref("toolkit.telemetry.newProfilePing.enabled", false);
  208. defaultPref("toolkit.telemetry.updatePing.enabled", false);
  209. defaultPref("toolkit.telemetry.firstShutdownPing.enabled", false);
  210. defaultPref("toolkit.telemetry.shutdownPingSender.enabled", false);
  211. defaultPref("toolkit.telemetry.shutdownPingSender.enabledFirstSession", false); // default
  212. defaultPref("toolkit.telemetry.bhrPing.enabled", false);
  213. defaultPref("toolkit.telemetry.reportingpolicy.firstRun", false); // default
  214. defaultPref("toolkit.telemetry.cachedClientID", "");
  215. defaultPref("toolkit.telemetry.previousBuildID", "");
  216. defaultPref("toolkit.telemetry.server_owner", "");
  217. defaultPref("toolkit.coverage.opt-out", true); // hidden
  218. defaultPref("toolkit.telemetry.coverage.opt-out", true); // hidden
  219. defaultPref("toolkit.coverage.enabled", false);
  220. defaultPref("toolkit.coverage.endpoint.base", "");
  221. defaultPref("toolkit.crashreporter.infoURL", "");
  222. defaultPref("datareporting.healthreport.uploadEnabled", false);
  223. defaultPref("datareporting.policy.dataSubmissionEnabled", false);
  224. defaultPref("security.protectionspopup.recordEventTelemetry", false);
  225. defaultPref("browser.ping-centre.telemetry", false);
  226. defaultPref("app.normandy.enabled", false);
  227. defaultPref("app.normandy.api_url", "");
  228. defaultPref("app.shield.optoutstudies.enabled", false);
  229. defaultPref("browser.discovery.enabled", false);
  230. defaultPref("browser.discovery.containers.enabled", false);
  231. defaultPref("browser.discovery.sites", "");
  232. defaultPref("browser.tabs.crashReporting.sendReport", false);
  233. defaultPref("breakpad.reportURL", "");
  234. defaultPref("network.connectivity-service.enabled", false);
  235. defaultPref("network.captive-portal-service.enabled", false);
  236. defaultPref("captivedetect.canonicalURL", "");
  237. defaultPref("beacon.enabled", false);
  238. defaultPref("app.update.service.enabled", false);
  239. defaultPref("app.update.background.scheduling.enabled", false);
  240. defaultPref("default-browser-agent.enabled", false); // disable windows specific telemetry
  241. defaultPref("network.protocol-handler.external.ms-windows-store", false); // prevent links from launching windows store
  242. defaultPref("toolkit.winRegisterApplicationRestart", false); // disable automatic start and session restore after reboot
  243. defaultPref("security.family_safety.mode", 0); // disable win8.1 family safety cert
  244. defaultPref("network.http.windows-sso.enabled", false); // disable MS auto authentication via sso
  245. // Custom Config
  246. defaultPref("browser.newtabpage.activity-stream.telemetry.structuredIngestion.endpoint", "");
  247. defaultPref("browser.urlbar.suggest.remotetab", false);
  248. defaultPref("privacy.resistFingerprinting.autoDeclineNoUserInputCanvasPrompts", true);
  249. defaultPref("dom.security.unexpected_system_load_telemetry_enabled", false);
  250. defaultPref("network.trr.confirmation_telemetry_enabled", false);
  251. defaultPref("security.app_menu.recordEventTelemetry", false);
  252. defaultPref("security.certerrors.recordEventTelemetry", false);
  253. defaultPref("security.identitypopup.recordEventTelemetry", false);
  254. defaultPref("toolkit.telemetry.pioneer-new-studies-available", false);
  255. defaultPref("toolkit.telemetry.testing.overrideProductsCheck", false);
  256. defaultPref("toolkit.telemetry.pioneer-new-studies-available", false);
  257. defaultPref("privacy.clearOnShutdown.cache", true);
  258. defaultPref("privacy.clearOnShutdown.cookies", true);
  259. defaultPref("privacy.clearOnShutdown.downloads", true);
  260. defaultPref("privacy.clearOnShutdown.formdata", true);
  261. defaultPref("privacy.clearOnShutdown.history", true);
  262. defaultPref("privacy.clearOnShutdown.offlineApps", true);
  263. defaultPref("privacy.clearOnShutdown.openWindows", true);
  264. defaultPref("privacy.clearOnShutdown.sessions", true);
  265. defaultPref("privacy.clearOnShutdown.siteSettings", true);
  266. defaultPref("privacy.trackingprotection.annotate_channels", true);
  267. defaultPref("privacy.trackingprotection.cryptomining.enabled", true);
  268. defaultPref("privacy.trackingprotection.enabled", true);
  269. defaultPref("privacy.trackingprotection.socialtracking.enabled", true);
  270. defaultPref("privacy.donottrackheader.enabled", true);
  271. defaultPref("privacy.trackingprotection.fingerprinting.enabled", true);
  272. defaultPref("privacy.trackingprotection.pbmode.enabled", true);
  273. defaultPref("browser.safebrowsing.downloads.remote.url", "")
  274. defaultPref("browser.safebrowsing.provider.google4.reportURL", "")
  275. defaultPref("browser.safebrowsing.provider.google.reportURL", "")
  276. defaultPref("browser.safebrowsing.provider.google4.dataSharingURL", "")
  277. defaultPref("media.gmp-widevinecdm.autoupdate", false);
  278. defaultPref("media.gmp-widevinecdm.enabled", false);
  279. defaultPref("media.gmp-widevinecdm.visible", false);
  280. defaultPref("media.peerconnection.enabled", false);
  281. defaultPref("network.allow-experiments", false);
  282. defaultPref("experiments.enabled", false);
  283. defaultPref("experiments.supported", false);
  284. defaultPref("geo.experiments.activeExperiment", false);
  285. defaultPref("extensions.pocket.enabled", false);
  286. defaultPref("extensions.pocket.api", "");
  287. defaultPref("extensions.pocket.site", "");
  288. defaultPref("geo.enable", false);
  289. defaultPref("geo.enabled", false);
  290. defaultPref("accessibility.typeaheadfind", false);
  291. defaultPref("accessibility.typeaheadfind.autostart", false);
  292. defaultPref("accessibility.typeaheadfind.prefillwithselection", false);
  293. defaultPref("accessibility.browsewithcaret", false);
  294. defaultPref("browser.newtabpage.activity-stream.section.highlights.includePocket", false);
  295. defaultPref("browser.urlbar.showSearchSuggestionsFirst", false);
  296. defaultPref("signon.generation.enabled", false);
  297. defaultPref("places.history.enabled", false);
  298. defaultPref("layout.spellcheckDefault", 0);
  299. defaultPref("browser.urlbar.suggest.bookmark", false);
  300. defaultPref("browser.urlbar.suggest.engines", false);
  301. defaultPref("browser.urlbar.suggest.openpage", false);
  302. defaultPref("browser.urlbar.suggest.topsites", false);
  303. defaultPref("browser.urlbar.suggest.history", false);
  304. defaultPref("media.videocontrols.picture-in-picture.video-toggle.enabled", false);
  305. defaultPref("ui.osk.enabled", false);
  306. defaultPref("browser.newtabpage.activity-stream.showSearch", true);
  307. defaultPref("media.hardwaremediakeys.enabled", false);
  308. defaultPref("browser.newtabpage.activity-stream.section.highlights.includeBookmarks", false);
  309. defaultPref("browser.newtabpage.activity-stream.logowordmark.alwaysVisible", false);
  310. defaultPref("permissions.default.microphone", 0);
  311. let profile_directory;
  312. if (profile_directory = getenv('USERPROFILE') || getenv('HOME')) {
  313. defaultPref('autoadmin.global_config_url', `file://${profile_directory}/.librewolf/librewolf.overrides.cfg`);
  314. }
Advertisement
RAW Paste Data Copied
Advertisement