You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

87 lines
3.8 KiB

4 years ago
  1. // to enable userChrome settings
  2. user_pref("toolkit.legacyUserProfileCustomizations.stylesheets", true);
  3. // disable Mozilla telemetry
  4. user_pref("toolkit.telemetry.enabled", false);
  5. user_pref("toolkit.telemetry.unified", false);
  6. user_pref("experiments.supported", false);
  7. user_pref("experiments.enabled", false);
  8. user_pref("experiments.manifest.uri", "");
  9. // disable Necko to do A/B testing
  10. user_pref("network.allow-experiments", false);
  11. // disable crash reports
  12. user_pref("breakpad.reportURL", "");
  13. user_pref("browser.tabs.crashReporting.sendReport", false);
  14. user_pref("browser.crashReports.unsubmittedCheck.enabled", false);
  15. user_pref("dom.ipc.plugins.flash.subprocess.crashreporter.enabled", false);
  16. // disable sending health reports
  17. user_pref("datareporting.healthreport.uploadEnabled", false);
  18. user_pref("datareporting.healthreport.service.enabled", false);
  19. user_pref("datareporting.policy.dataSubmissionEnabled", false);
  20. // disable Mozilla user rating telemetry
  21. user_pref("browser.selfsupport.url", "");
  22. // enable tracking protection
  23. user_pref("privacy.trackingprotection.enabled", true);
  24. user_pref("privacy.trackingprotection.pbmode.enabled", true);
  25. // disable built-in PDF viewer
  26. user_pref("pdfjs.disabled", true);
  27. // disable WebRTC getUserMedia, screen sharing, audio capture, video capture
  28. user_pref("media.navigator.enabled", false);
  29. user_pref("media.navigator.video.enabled", false);
  30. user_pref("media.getusermedia.screensharing.enabled", false);
  31. user_pref("media.getusermedia.audiocapture.enabled", false);
  32. // disable beacon async HTTP transfers (used for analytics)
  33. user_pref("beacon.enabled", false);
  34. // do not automatically send selection to clipboard
  35. user_pref("clipboard.autocopy", false);
  36. // don"t monitor OS online connection state
  37. user_pref("network.manage-offline-status", false);
  38. // disable video stats to reduce fingerprinting threat
  39. user_pref("media.video_stats.enabled", false);
  40. // disable font fingerprinting
  41. user_pref("browser.display.use_document_fonts", 0);
  42. // opt out of addon metadata updates
  43. user_pref("extensions.getAddons.cache.enabled", false);
  44. // update addons automatically
  45. user_pref("extensions.update.enabled", true);
  46. // enable addon and certificate blocklists from Mozilla
  47. user_pref("extensions.blocklist.enabled", true);
  48. user_pref("services.blocklist.update_enabled", true);
  49. user_pref("extensions.blocklist.url", "https://blocklist.addons.mozilla.org/blocklist/3/%APP_ID%/%APP_VERSION%/");
  50. // disable remote debugging
  51. user_pref("devtools.debugger.remote-enabled", false);
  52. user_pref("devtools.chrome.enabled", false);
  53. user_pref("devtools.debugger.force-local", true);
  54. // disable pocket
  55. user_pref("browser.pocket.enabled", false);
  56. user_pref("extensions.pocket.enabled", false);
  57. user_pref("browser.newtabpage.activity-stream.feeds.section.topstories", false);
  58. // disable form autofill, don't save information entered in web page forms
  59. user_pref("browser.formfill.enable", false);
  60. user_pref("signon.autofillForms", false);
  61. user_pref("signon.formlessCapture.enabled", false);
  62. // show in-content login form warning UI for insecure login fields
  63. user_pref("security.insecure_field_warning.contextual.enabled", true);
  64. user_pref("security.insecure_password.ui.enabled", true);