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.

89 lines
3.9 KiB

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