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.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  1. /* Manual */
  2. // user_pref("browser.cache.disk.parent_directory", "/run/user/$(id -u)/firefox"); // linux: move disk cache to memory
  3. // user_pref("mousewheel.default.delta_multiplier_y", 250); // configure scroll speed (vertical)
  4. // user_pref("mousewheel.default.delta_multiplier_x", 250); // configure scroll speed (horizontal)
  5. /* Startup */
  6. user_pref("browser.startup.homepage", "https://www.google.ca"); // home
  7. user_pref("browser.startup.page", 3); // resume previous session on startup
  8. user_pref("browser.privatebrowsing.forceMediaMemoryCache", true); // require memory cache for private browsing
  9. /* New tab */
  10. user_pref("browser.newtabpage.enabled", false); // disable new tab page
  11. user_pref("browser.newtabpage.activity-stream.showWeather", false); // disable weather
  12. user_pref("browser.newtabpage.activity-stream.system.showWeather", false); // disable weather
  13. user_pref("browser.newtabpage.activity-stream.default.sites", ""); // empty top sites list
  14. user_pref("browser.newtabpage.activity-stream.feeds.topsites", false); // remove top sites from new tab page
  15. user_pref("browser.newtabpage.activity-stream.showSponsored", false); // disable sponsored stories
  16. user_pref("browser.newtabpage.activity-stream.system.showSponsored", false); // disable sponsored stories
  17. user_pref("browser.newtabpage.activity-stream.showSponsoredTopSites", false); // disable sponsored top sites
  18. user_pref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.addons", false); // disable recommended addons
  19. user_pref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.features", false); // disable recommended features
  20. user_pref("browser.newtabpage.activity-stream.feeds.section.topstories", false); // remove stories from new tab page
  21. /* Behaviour */
  22. user_pref("browser.bookmarks.openInTabClosesMenu", false); // opening bookmarks doesn't close menu
  23. user_pref("browser.tabs.loadBookmarksInBackground", true); // allow opening bookmarks in background
  24. user_pref("layout.word_select.eat_space_to_next_word", false); // don't select extra space after words
  25. user_pref("general.autoScroll", true); // scroll on middle click
  26. user_pref("browser.tabs.searchclipboardfor.middleclick", false);
  27. user_pref("browser.ctrlTab.sortByRecentlyUsed", false); // ctrl+tab cycles in order
  28. user_pref("zoom.minPercent", 10); // adjust minimum zoom value
  29. 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)
  30. user_pref("ui.key.menuAccessKeyFocuses", false); // alt key doesn't open top bar
  31. user_pref("browser.urlbar.suggest.topsites", false); // don't suggest top sites
  32. user_pref("browser.urlbar.suggest.calculator", true); // enable calculations in url bar
  33. user_pref("browser.urlbar.unitConversion.enabled", true); // enable unit conversions in url bar
  34. user_pref("browser.urlbar.quickactions.enabled", false); // disable quick actions
  35. user_pref("browser.urlbar.autoFill.adaptiveHistory.enabled", true); // enable adaptive history
  36. user_pref("browser.urlbar.shortcuts.quickactions", false); // disable quick actions
  37. user_pref("browser.urlbar.resultMenu.keyboardAccessible", false); // skip url suggestion menus
  38. user_pref("findbar.highlightAll", true); // highlight all found matches
  39. user_pref("media.videocontrols.picture-in-picture.video-toggle.enabled", false); // hide picture-in-picture button
  40. user_pref("media.videocontrols.picture-in-picture.video-toggle.min-video-secs", 10); // allow picture-in-picture for shorter videos
  41. /* Dev tools */
  42. user_pref("devtools.command-button-screenshot.enabled", true); // enable screenshot button
  43. user_pref("devtools.command-button-rulers.enabled", true); // enable ruler button
  44. user_pref("devtools.debugger.remote-enabled", true); // enable remote debugging
  45. user_pref("devtools.chrome.enabled", true); // enable debugging browser chrome
  46. user_pref("devtools.screenshot.audio.enabled", false); // disable screenshot audio
  47. user_pref("devtools.editor.tabsize", 4); // indent size is 4 spaces
  48. user_pref("devtools.editor.expandtab", false); // indent with tabs
  49. /* Content */
  50. user_pref("media.eme.enabled", true); // allow DRM
  51. user_pref("toolkit.legacyUserProfileCustomizations.stylesheets", true); // enable user styles
  52. user_pref("layout.css.grid-template-masonry-value.enabled", true);
  53. user_pref("dom.enable_web_task_scheduling", true);
  54. user_pref("browser.urlbar.groupLabels.enabled", false); // hide firefox suggest label
  55. user_pref("browser.compactmode.show", true); // add compact mode
  56. user_pref("browser.tabs.tabmanager.enabled", false); // hide tab manager until needed
  57. user_pref("privacy.userContext.enabled", true); // enable containers
  58. user_pref("privacy.userContext.ui.enabled", true); // enable containers
  59. /* Downloads */
  60. user_pref("browser.download.start_downloads_in_tmp_dir", true); // start downloads early
  61. user_pref("browser.download.useDownloadDir", false); // always ask where to save files
  62. user_pref("browser.download.alwaysOpenPanel", false); // disable automatically opening download panel
  63. user_pref("browser.download.autohideButton", true); // hide empty downloads button
  64. user_pref("browser.download.manager.addToRecentDocs", false); // disable adding downloads to recent documents
  65. /* PDFs */
  66. user_pref("browser.download.open_pdf_attachments_inline", true); // force PDFs to open in browser
  67. user_pref("pdfjs.disabled", false); // enable pdfjs
  68. user_pref("pdfjs.enableScripting", false); // disable scripts on pdfjs
  69. /* Forms */
  70. user_pref("signon.autofillForms", false); // don't autofill login pages
  71. user_pref("browser.formfill.enable", false); // don't autofill forms
  72. user_pref("signon.formlessCapture.enabled", false); // don't autofill passwords
  73. user_pref("extensions.formautofill.addresses.enabled", false); // don't autofill addresses
  74. user_pref("extensions.formautofill.creditCards.enabled", false); // don't autofill credit cards
  75. user_pref("signon.rememberSignons", false); // don't remember passwords
  76. /* Warnings */
  77. user_pref("browser.aboutConfig.showWarning", false); // disable about:config warning
  78. user_pref("browser.warnOnQuitShortcut", true); // warn on quit
  79. user_pref("browser.tabs.warnOnClose", true); // warn on quit
  80. user_pref("app.update.suppressPrompts", true); // disable update warning
  81. user_pref("browser.urlbar.update2.engineAliasRefresh", true); // allow adding search engines manually
  82. /* Fullscreen */
  83. user_pref("full-screen-api.transition-duration.enter", "0 0");
  84. user_pref("full-screen-api.transition-duration.leave", "0 0");
  85. user_pref("full-screen-api.transition.timeout", 0);
  86. user_pref("full-screen-api.warning.delay", -1);
  87. user_pref("full-screen-api.warning.timeout", 0);
  88. /* Scrolling */
  89. user_pref("apz.overscroll.enabled", true);
  90. user_pref("general.smoothScroll", true);
  91. user_pref("general.smoothScroll.msdPhysics.continuousMotionMaxDeltaMS", 12);
  92. user_pref("general.smoothScroll.msdPhysics.enabled", true);
  93. user_pref("general.smoothScroll.msdPhysics.motionBeginSpringConstant", 600);
  94. user_pref("general.smoothScroll.msdPhysics.regularSpringConstant", 650);
  95. user_pref("general.smoothScroll.msdPhysics.slowdownMinDeltaMS", 25);
  96. user_pref("general.smoothScroll.msdPhysics.slowdownMinDeltaRatio", "2.0");
  97. user_pref("general.smoothScroll.msdPhysics.slowdownSpringConstant", 250);
  98. user_pref("general.smoothScroll.currentVelocityWeighting", "1.0");
  99. user_pref("general.smoothScroll.stopDecelerationWeighting", "1.0");
  100. /* Bloat */
  101. user_pref("browser.startup.homepage_override.mstone", "ignore"); // disable welcome messages
  102. user_pref("extensions.getAddons.showPane", false); // disable recommendations in about:addons
  103. user_pref("extensions.htmlaboutaddons.recommendations.enabled", false); // disable recommendations in about:addons
  104. user_pref("browser.discovery.enabled", false); // disable recommendations in about:addons
  105. user_pref("browser.messaging-system.whatsNewPanel.enabled", false); // disable what's new
  106. user_pref("extensions.pocket.enabled", false); // disable pocket
  107. user_pref("browser.uitour.enabled", false); // disable ui tour
  108. user_pref("browser.uitour.url", ""); // disable ui tour
  109. user_pref("browser.urlbar.suggest.quicksuggest.sponsored", false); // removed sponsored suggestions
  110. user_pref("browser.preferences.moreFromMozilla", false); // remove more from mozilla
  111. user_pref("browser.shopping.experience2023.enabled", false);
  112. user_pref("browser.urlbar.pocket.featureGate", false);
  113. user_pref("browser.urlbar.trending.featureGate", false);
  114. user_pref("browser.privatebrowsing.vpnpromourl", ""); // hide private browsing promo
  115. /* Telemetry */
  116. user_pref("datareporting.policy.dataSubmissionEnabled", false);
  117. user_pref("datareporting.healthreport.uploadEnabled", false);
  118. user_pref("toolkit.telemetry.unified", false);
  119. user_pref("toolkit.telemetry.enabled", false);
  120. user_pref("toolkit.telemetry.server", "data:,");
  121. user_pref("toolkit.telemetry.archive.enabled", false);
  122. user_pref("toolkit.telemetry.newProfilePing.enabled", false);
  123. user_pref("toolkit.telemetry.shutdownPingSender.enabled", false);
  124. user_pref("toolkit.telemetry.updatePing.enabled", false);
  125. user_pref("toolkit.telemetry.bhrPing.enabled", false);
  126. user_pref("toolkit.telemetry.firstShutdownPing.enabled", false);
  127. user_pref("toolkit.telemetry.coverage.opt-out", true);
  128. user_pref("toolkit.coverage.opt-out", true);
  129. user_pref("toolkit.coverage.endpoint.base", "");
  130. user_pref("browser.ping-centre.telemetry", false);
  131. user_pref("browser.newtabpage.activity-stream.feeds.telemetry", false);
  132. user_pref("browser.newtabpage.activity-stream.telemetry", false);
  133. user_pref("app.shield.optoutstudies.enabled", false);
  134. user_pref("app.normandy.enabled", false);
  135. user_pref("app.normandy.api_url", "");
  136. user_pref("breakpad.reportURL", "");
  137. user_pref("browser.tabs.crashReporting.sendReport", false);
  138. user_pref("browser.crashReports.unsubmittedCheck.autoSubmit2", false);
  139. user_pref("browser.contentanalysis.enabled", false);
  140. user_pref("browser.contentanalysis.default_result", 0);
  141. /* Sanitize */
  142. // user_pref("privacy.sanitize.sanitizeOnShutdown", false); // clear data on shutdown
  143. // user_pref("privacy.clearOnShutdown.cache", false); // save cache
  144. // user_pref("privacy.clearOnShutdown.cookies", false); // save cookies
  145. // user_pref("privacy.clearOnShutdown.downloads", true); // clear downloads (requires clearing history)
  146. // user_pref("privacy.clearOnShutdown.formdata", false); // save form data
  147. // user_pref("privacy.clearOnShutdown.history", false); // save history
  148. // user_pref("privacy.clearOnShutdown.offlineApps", false); // save cache
  149. // user_pref("privacy.clearOnShutdown.openWindows", false); // save open windows
  150. // user_pref("privacy.clearOnShutdown.sessions", false); // save sessions
  151. // user_pref("privacy.clearOnShutdown.siteSettings", false); // save site settings