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.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. /* Manual */
  2. // user_pref("browser.cache.disk.parent_directory", "/run/user/$(id -u)/firefox"); // move disk cache to memory
  3. /* Startup */
  4. user_pref("browser.startup.homepage", "https://www.google.ca"); // home page
  5. user_pref("browser.startup.page", 3); // resume previous session on startup
  6. user_pref("browser.startup.homepage_override.mstone", "ignore"); // disable welcome messages
  7. user_pref("browser.newtabpage.enabled", false); // blank new tab page
  8. /* Behaviour */
  9. user_pref("browser.bookmarks.openInTabClosesMenu", false); // opening bookmarks doesn't close menu
  10. user_pref("browser.tabs.loadBookmarksInBackground", true); // allow opening bookmarks in background
  11. user_pref("layout.word_select.eat_space_to_next_word", false); // don't select extra space after words
  12. user_pref("general.autoScroll", true); // scroll on middle click
  13. user_pref("browser.tabs.searchclipboardfor.middleclick", false);
  14. user_pref("browser.ctrlTab.sortByRecentlyUsed", false); // ctrl+tab cycles in order
  15. user_pref("zoom.minPercent", 10); // adjust minimum zoom value
  16. user_pref("toolkit.zoomManager.zoomValues", ".1,.3,.5,.6,.7,.8,.85,.9,.95,1,1.05,1.1,1.15,1.2,1.3,1.4,1.45,1.5,1.55,1.6,1.7,1.8,1.9,2,2.5,3,4,5,10"); // adjust zoom increments (not mouse wheel)
  17. user_pref("ui.key.menuAccessKeyFocuses", false); // alt key doesn't open top bar
  18. user_pref("browser.urlbar.suggest.topsites", false); // don't suggest top sites
  19. user_pref("browser.urlbar.suggest.calculator", true); // enable calculations in url bar
  20. user_pref("browser.urlbar.unitConversion.enabled", true); // enable unit conversions in url bar
  21. user_pref("browser.urlbar.quickactions.enabled", false); // disable quick actions
  22. user_pref("browser.urlbar.autoFill.adaptiveHistory.enabled", true); // enable adaptive history
  23. user_pref("browser.urlbar.shortcuts.quickactions", false); // disable quick actions
  24. user_pref("browser.urlbar.resultMenu.keyboardAccessible", false); // skip url suggestion menus
  25. /* Shutdown */
  26. // user_pref("privacy.sanitize.sanitizeOnShutdown", true); // clear data on shutdown
  27. // user_pref("privacy.clearOnShutdown.history", false); // save history
  28. // user_pref("privacy.clearOnShutdown.cache", false); // clear cache
  29. // user_pref("privacy.clearOnShutdown.downloads", true); // clear downloads
  30. // user_pref("privacy.clearOnShutdown.formdata", true); // clear form data
  31. // user_pref("privacy.clearOnShutdown.sessions", false); // save sessions
  32. // user_pref("privacy.clearOnShutdown.cookies", false); // save cookies
  33. // user_pref("privacy.clearOnShutdown.offlineApps", true); // clear site data
  34. /* Content */
  35. user_pref("media.eme.enabled", true); // allow DRM
  36. user_pref("toolkit.legacyUserProfileCustomizations.stylesheets", true); // enable user styles
  37. user_pref("layout.css.has-selector.enabled", true); // enable :has filter
  38. user_pref("browser.urlbar.groupLabels.enabled", false); // hide firefox suggest label
  39. user_pref("browser.compactmode.show", true); // add compact mode
  40. user_pref("browser.tabs.tabmanager.enabled", false); // hide tab manager until needed
  41. /* Downloads */
  42. // user_pref("browser.download.useDownloadDir", false); // always ask whether to open or save files
  43. // user_pref("browser.download.always_ask_before_handling_new_types", true); // confirm new file types
  44. user_pref("browser.download.alwaysOpenPanel", false); // disable automatically opening download panel
  45. user_pref("browser.download.manager.addToRecentDocs", false); // disable adding downloads to recent documents
  46. user_pref("browser.privatebrowsing.forceMediaMemoryCache", true); // require memory cache for private browsing
  47. user_pref("browser.download.open_pdf_attachments_inline", true); // force PDFs to open in browser
  48. user_pref("pdfjs.disabled", false); // enable pdfjs
  49. user_pref("pdfjs.enableScripting", false); // enable scripts on pdfjs
  50. /* Forms */
  51. user_pref("signon.autofillForms", false); // don't autofill login pages
  52. user_pref("browser.formfill.enable", false); // don't autofill forms
  53. user_pref("signon.formlessCapture.enabled", false); // don't autofill passwords
  54. user_pref("extensions.formautofill.addresses.enabled", false); // don't autofill addresses
  55. user_pref("extensions.formautofill.creditCards.enabled", false); // don't autofill credit cards
  56. user_pref("signon.rememberSignons", false); // don't remember passwords
  57. /* Warnings */
  58. user_pref("browser.aboutConfig.showWarning", false); // disable about:config warning
  59. user_pref("browser.warnOnQuitShortcut", true); // warn on quit
  60. user_pref("browser.tabs.warnOnClose", true); // warn on quit
  61. user_pref("app.update.suppressPrompts", true); // disable update warning
  62. user_pref("browser.urlbar.update2.engineAliasRefresh", true); // allow adding search engines manually
  63. /* Containers */
  64. user_pref("privacy.userContext.enabled", true); // enable containers
  65. user_pref("privacy.userContext.ui.enabled", true); // enable containers
  66. /* Fullscreen */
  67. user_pref("full-screen-api.transition-duration.enter", "0 0");
  68. user_pref("full-screen-api.transition-duration.leave", "0 0");
  69. user_pref("full-screen-api.transition.timeout", 0);
  70. user_pref("full-screen-api.warning.delay", -1);
  71. user_pref("full-screen-api.warning.timeout", 0);
  72. /* Scrolling */
  73. user_pref("apz.overscroll.enabled", true);
  74. user_pref("general.smoothScroll", true);
  75. user_pref("general.smoothScroll.msdPhysics.continuousMotionMaxDeltaMS", 12);
  76. user_pref("general.smoothScroll.msdPhysics.enabled", true);
  77. user_pref("general.smoothScroll.msdPhysics.motionBeginSpringConstant", 600);
  78. user_pref("general.smoothScroll.msdPhysics.regularSpringConstant", 650);
  79. user_pref("general.smoothScroll.msdPhysics.slowdownMinDeltaMS", 25);
  80. user_pref("general.smoothScroll.msdPhysics.slowdownMinDeltaRatio", 2.0);
  81. user_pref("general.smoothScroll.msdPhysics.slowdownSpringConstant", 250);
  82. user_pref("general.smoothScroll.currentVelocityWeighting", 1.0);
  83. user_pref("general.smoothScroll.stopDecelerationWeighting", 1.0);
  84. //user_pref("mousewheel.default.delta_multiplier_y", 250);
  85. /* Bloat */
  86. user_pref("browser.newtabpage.activity-stream.default.sites", ""); // empty top sites list
  87. user_pref("browser.newtabpage.activity-stream.feeds.topsites", false); // remove top sites from new tab page
  88. user_pref("browser.newtabpage.activity-stream.showSponsored", false); // disable sponsored stories
  89. user_pref("browser.newtabpage.activity-stream.showSponsoredTopSites", false); // disable sponsored top sites
  90. user_pref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.addons", false); // disable recommended addons
  91. user_pref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.features", false); // disable recommended features
  92. user_pref("browser.newtabpage.activity-stream.feeds.section.topstories", false); // remove stories from new tab page
  93. user_pref("extensions.getAddons.showPane", false); // disable recommendations in about:addons
  94. user_pref("extensions.htmlaboutaddons.recommendations.enabled", false); // disable recommendations in about:addons
  95. user_pref("browser.discovery.enabled", false); // disable recommendations in about:addons
  96. user_pref("browser.messaging-system.whatsNewPanel.enabled", false); // disable what's new
  97. user_pref("extensions.pocket.enabled", false); // disable pocket
  98. user_pref("browser.uitour.enabled", false); // disable ui tour
  99. user_pref("browser.uitour.url", ""); // disable ui tour
  100. user_pref("browser.urlbar.suggest.quicksuggest.sponsored", false); // removed sponsored suggestions
  101. user_pref("browser.preferences.moreFromMozilla", false); // remove more from mozilla
  102. /* Telemetry */
  103. user_pref("datareporting.policy.dataSubmissionEnabled", false);
  104. user_pref("datareporting.healthreport.uploadEnabled", false);
  105. user_pref("toolkit.telemetry.unified", false);
  106. user_pref("toolkit.telemetry.enabled", false);
  107. user_pref("toolkit.telemetry.server", "data:,");
  108. user_pref("toolkit.telemetry.archive.enabled", false);
  109. user_pref("toolkit.telemetry.newProfilePing.enabled", false);
  110. user_pref("toolkit.telemetry.shutdownPingSender.enabled", false);
  111. user_pref("toolkit.telemetry.updatePing.enabled", false);
  112. user_pref("toolkit.telemetry.bhrPing.enabled", false);
  113. user_pref("toolkit.telemetry.firstShutdownPing.enabled", false);
  114. user_pref("toolkit.telemetry.coverage.opt-out", true);
  115. user_pref("toolkit.coverage.opt-out", true);
  116. user_pref("toolkit.coverage.endpoint.base", "");
  117. user_pref("browser.ping-centre.telemetry", false);
  118. user_pref("browser.newtabpage.activity-stream.feeds.telemetry", false);
  119. user_pref("browser.newtabpage.activity-stream.telemetry", false);
  120. user_pref("app.shield.optoutstudies.enabled", false);
  121. user_pref("app.normandy.enabled", false);
  122. user_pref("app.normandy.api_url", "");
  123. user_pref("breakpad.reportURL", "");
  124. user_pref("browser.tabs.crashReporting.sendReport", false);
  125. user_pref("browser.crashReports.unsubmittedCheck.autoSubmit2", false);