Advertisement
PridefulMizuki

FF104 user.js

Aug 23rd, 2022 (edited)
1,635
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /* my overrides for https://github.com/arkenfox/user.js */
  2. /* uses smart referrer and https://github.com/black7375/Firefox-UI-Fix */
  3. /* override recipe: enable session restore ***/
  4. /* 0102: set startup page [SETUP-CHROME]
  5.  * 0=blank, 1=home, 2=last visited page, 3=resume previous session
  6.  * [NOTE] Session Restore is cleared with history (2811, 2812), and not used in Private Browsing mode
  7.  * [SETTING] General>Startup>Restore previous session ***/
  8. user_pref("browser.startup.page", 3);
  9. /* 1003: disable storing extra session data [SETUP-CHROME]
  10.  * define on which sites to save extra session data such as form content, cookies and POST data
  11.  * 0=everywhere, 1=unencrypted sites, 2=nowhere ***/
  12. user_pref("browser.sessionstore.privacy_level", 0);
  13. /* 2811: set/enforce what items to clear on shutdown (if 2810 is true) [SETUP-CHROME]
  14.  * These items do not use exceptions, it is all or nothing (1681701)
  15.  * [NOTE] If "history" is true, downloads will also be cleared
  16.  * [NOTE] "sessions": Active Logins: refers to HTTP Basic Authentication [1], not logins via cookies
  17.  * [NOTE] "offlineApps": Offline Website Data: localStorage, service worker cache, QuotaManager (IndexedDB, asm-cache)
  18.  * [SETTING] Privacy & Security>History>Custom Settings>Clear history when Firefox closes>Settings
  19.  * [1] https://en.wikipedia.org/wiki/Basic_access_authentication ***/
  20. user_pref("privacy.clearOnShutdown.history", false);   // [DEFAULT: true]
  21. user_pref("privacy.clearOnShutdown.downloads", false); // [DEFAULT: true]
  22. /* 2812: reset default items to clear with Ctrl-Shift-Del (to match 2811) [SETUP-CHROME]
  23.  * This dialog can also be accessed from the menu History>Clear Recent History
  24.  * Firefox remembers your last choices. This will reset them when you start Firefox
  25.  * [NOTE] Regardless of what you set "downloads" to, as soon as the dialog
  26.  * for "Clear Recent History" is opened, it is synced to the same as "history" ***/
  27. user_pref("privacy.cpd.history", false);  // [DEFAULT: true]
  28. /* addition not in the original recipe ***/
  29. user_pref("privacy.clearOnShutdown.cache", false);     // [DEFAULT: false]
  30. user_pref("privacy.cpd.cache", false);    // [DEFAULT: true]
  31.  
  32. /* 0103: set HOME+NEWWINDOW page
  33.  * about:home=Activity Stream (default, see 0105), custom URL, about:blank
  34.  * [SETTING] Home>New Windows and Tabs>Homepage and new windows ***/
  35. user_pref("browser.startup.homepage", "about:home");    // change back to blank (default) if performance issues
  36. /* 0104: set NEWTAB page
  37.  * true=Activity Stream (default, see 0105), false=blank page
  38.  * [SETTING] Home>New Windows and Tabs>New tabs ***/
  39. user_pref("browser.newtabpage.enabled", true);
  40. user_pref("browser.newtab.preload", true);
  41.  
  42. /* 0801: disable location bar using search
  43.  * Don't leak URL typos to a search engine, give an error message instead
  44.  * Examples: "secretplace,com", "secretplace/com", "secretplace com", "secret place.com"
  45.  * [NOTE] This does not affect explicit user action such as using search buttons in the
  46.  * dropdown, or using keyword search shortcuts you configure in options (e.g. "d" for DuckDuckGo)
  47.  * [SETUP-CHROME] Override this if you trust and use a privacy respecting search engine ***/
  48. user_pref("keyword.enabled", true);
  49.  
  50. /* 0804: disable live search suggestions
  51.  * [NOTE] Both must be true for the location bar to work
  52.  * [SETUP-CHROME] Override these if you trust and use a privacy respecting search engine
  53.  * [SETTING] Search>Provide search suggestions | Show search suggestions in address bar results ***/
  54. user_pref("browser.search.suggest.enabled", true);
  55. user_pref("browser.urlbar.suggest.searches", true);
  56.  
  57. /* 0807: disable location bar contextual suggestions [FF92+]
  58.  * [SETTING] Privacy & Security>Address Bar>Suggestions from...
  59.  * [1] https://blog.mozilla.org/data/2021/09/15/data-and-firefox-suggest/ ***/
  60. user_pref("browser.urlbar.suggest.quicksuggest.nonsponsored", true); // [FF95+]
  61.  
  62. /* 1001: disable disk cache
  63.  * [SETUP-CHROME] If you think disk cache helps perf, then feel free to override this
  64.  * [NOTE] We also clear cache on exit (2811) ***/
  65. user_pref("browser.cache.disk.enable", true);
  66.  
  67. /* 1004: set the minimum interval between session save operations
  68.  * Increasing this can help on older machines and some websites, as well as reducing writes [1]
  69.  * [1] https://bugzilla.mozilla.org/1304389 ***/
  70. user_pref("browser.sessionstore.interval", 100000); // [DEFAULT: 15000]
  71.  
  72. /* 1601: control when to send a cross-origin referer
  73.  * 0=always (default), 1=only if base domains match, 2=only if hosts match
  74.  * [SETUP-WEB] Breakage: older modems/routers and some sites e.g banks, vimeo, icloud, instagram
  75.  * If "2" is too strict, then override to "0" and use Smart Referer extension (Strict mode + add exceptions) ***/
  76. user_pref("network.http.referer.XOriginPolicy", 0);
  77.  
  78. /* 2030: disable autoplay of HTML5 media [FF63+]
  79.  * 0=Allow all, 1=Block non-muted media (default), 5=Block all
  80.  * [NOTE] You can set exceptions under site permissions
  81.  * [SETTING] Privacy & Security>Permissions>Autoplay>Settings>Default for all websites ***/
  82. user_pref("media.autoplay.default", 5);
  83.  
  84. /* 2662: disable webextension restrictions on certain mozilla domains (you also need 4503) [FF60+]
  85.  * [1] https://bugzilla.mozilla.org/buglist.cgi?bug_id=1384330,1406795,1415644,1453988 ***/
  86. user_pref("extensions.webextensions.restrictedDomains", "");
  87.  
  88. /* 2822: reset default "Time range to clear" for "Clear Recent History" (2820)
  89.  * Firefox remembers your last choice. This will reset the value when you start Firefox
  90.  * 0=everything, 1=last hour, 2=last two hours, 3=last four hours, 4=today
  91.  * [NOTE] Values 5 (last 5 minutes) and 6 (last 24 hours) are not listed in the dropdown,
  92.  * which will display a blank value, and are not guaranteed to work ***/
  93. user_pref("privacy.sanitize.timeSpan", 1);
  94.  
  95. /* 4504: enable RFP letterboxing [FF67+]
  96.  * Dynamically resizes the inner window by applying margins in stepped ranges [2]
  97.  * If you use the dimension pref, then it will only apply those resolutions.
  98.  * The format is "width1xheight1, width2xheight2, ..." (e.g. "800x600, 1000x1000")
  99.  * [SETUP-WEB] This is independent of RFP (4501). If you're not using RFP, or you are but
  100.  * dislike the margins, then flip this pref, keeping in mind that it is effectively fingerprintable
  101.  * [WARNING] DO NOT USE: the dimension pref is only meant for testing
  102.  * [1] https://bugzilla.mozilla.org/1407366
  103.  * [2] https://hg.mozilla.org/mozilla-central/rev/6d2d7856e468#l2.32 ***/
  104. user_pref("privacy.resistFingerprinting.letterboxing", false); // [HIDDEN PREF]
  105.  
  106. /* 4520: disable WebGL (Web Graphics Library)
  107.  * [SETUP-WEB] If you need it then override it. RFP still randomizes canvas for naive scripts ***/
  108. user_pref("webgl.disabled", false);
  109.  
  110. /* 5016: discourage downloading to desktop
  111.  * 0=desktop, 1=downloads (default), 2=last used
  112.  * [SETTING] To set your default "downloads": General>Downloads>Save files to ***/
  113. user_pref("browser.download.folderList", 2);
  114.  
  115. /* 5506: disable WebAssembly [FF52+]
  116.  * Vulnerabilities [1] have increasingly been found, including those known and fixed
  117.  * in native programs years ago [2]. WASM has powerful low-level access, making
  118.  * certain attacks (brute-force) and vulnerabilities more possible
  119.  * [STATS] ~0.2% of websites, about half of which are for crytopmining / malvertising [2][3]
  120.  * [1] https://cve.mitre.org/cgi-bin/cvekey.cgi?keyword=wasm
  121.  * [2] https://spectrum.ieee.org/tech-talk/telecom/security/more-worries-over-the-security-of-web-assembly
  122.  * [3] https://www.zdnet.com/article/half-of-the-websites-using-webassembly-use-it-for-malicious-purposes ***/
  123. user_pref("javascript.options.wasm", false);
  124.  
  125. /* UPDATES ***/
  126. user_pref("app.update.auto", false); // [NON-WINDOWS] disable auto app updates
  127.     // [NOTE] You will still get prompts to update, and should do so in a timely manner
  128.     // [SETTING] General>Firefox Updates>Check for updates but let you choose to install them
  129.  
  130. /* APPEARANCE ***/
  131. user_pref("ui.prefersReducedMotion", 1); // disable chrome animations [FF77+] [RESTART] [HIDDEN PREF]
  132.     // 0=no-preference, 1=reduce: with RFP this only affects chrome
  133. user_pref("ui.systemUsesDarkTheme", 1); // [FF67+] [HIDDEN PREF]
  134.     // 0=light, 1=dark: with RFP this only affects chrome
  135.  
  136. /* UX BEHAVIOR ***/
  137. user_pref("browser.backspace_action", 2); // 0=previous page, 1=scroll up, 2=do nothing
  138. user_pref("browser.tabs.loadBookmarksInTabs", true); // open bookmarks in a new tab [FF57+]
  139. user_pref("browser.urlbar.decodeURLsOnCopy", true); // see bugzilla 1320061 [FF53+]
  140. user_pref("extensions.pocket.enabled", true); // Pocket Account [FF46+]  
  141. user_pref("pdfjs.viewerCssTheme", 2); // PDF.js dark mode, 0=system, 1=light, 2=dark
  142.    
  143.  
  144. // ** Theme Default Options ****************************************************
  145. // userchrome.css usercontent.css activate
  146. user_pref("toolkit.legacyUserProfileCustomizations.stylesheets", true);
  147.  
  148. // Proton Enabled #127 || Removed at 97 #328 (Maintained for compatibility with ESR)
  149. user_pref("browser.proton.enabled", true);
  150.  
  151. // Proton Tooltip
  152. user_pref("browser.proton.places-tooltip.enabled", true);
  153.  
  154. // Fill SVG Color
  155. user_pref("svg.context-properties.content.enabled", true);
  156.  
  157. // CSS Color Mix - 88 Above
  158. user_pref("layout.css.color-mix.enabled", true);
  159.  
  160. // CSS Blur Filter - 88 Above
  161. user_pref("layout.css.backdrop-filter.enabled", true);
  162.  
  163. // Restore Compact Mode - 89 Above
  164. user_pref("browser.compactmode.show", true);
  165.  
  166. // about:home Search Bar - 89 Above
  167. user_pref("browser.newtabpage.activity-stream.improvesearch.handoffToAwesomebar", false);
  168.  
  169. // Browser Theme Based Scheme - Will be activate 95 Above
  170. // user_pref("layout.css.prefers-color-scheme.content-override", 3);
  171.  
  172. // ** Theme Related Options ****************************************************
  173. // == Theme Distribution Settings ==============================================
  174. // The rows that are located continuously must be changed `true`/`false` explicitly because there is a collision.
  175. // https://github.com/black7375/Firefox-UI-Fix/wiki/Options#important
  176. user_pref("userChrome.tab.connect_to_window",          true); // Original, Photon
  177. user_pref("userChrome.tab.color_like_toolbar",         true); // Original, Photon
  178.  
  179. user_pref("userChrome.tab.lepton_like_padding",       false); // Original
  180. user_pref("userChrome.tab.photon_like_padding",        true); // Photon
  181.  
  182. user_pref("userChrome.tab.dynamic_separtor",          false); // Original, Proton
  183. user_pref("userChrome.tab.static_separator",           true); // Photon
  184. user_pref("userChrome.tab.static_separator.selected_accent", false); // Just option
  185.  
  186. user_pref("userChrome.tab.newtab_button_like_tab",    false); // Original
  187. user_pref("userChrome.tab.newtab_button_smaller",      true); // Photon
  188. user_pref("userChrome.tab.newtab_button_proton",      false); // Proton
  189.  
  190. user_pref("userChrome.icon.panel_full",               false); // Original, Proton
  191. user_pref("userChrome.icon.panel_photon",              true); // Photon
  192. user_pref("userChrome.icon.panel_sparse",             false); // Just option
  193.  
  194. // Original Only
  195. user_pref("userChrome.tab.box_shadow",                false);
  196. user_pref("userChrome.tab.bottom_rounded_corner",     false);
  197.  
  198. // Photon Only
  199. user_pref("userChrome.tab.photon_like_contextline",    true);
  200. user_pref("userChrome.rounding.square_tab",            true);
  201.  
  202. // == Theme Compatibility Settings =============================================
  203. // user_pref("userChrome.compatibility.accent_color",         true); // Firefox v103 Below
  204. // user_pref("userChrome.compatibility.covered_header_image", true);
  205. // user_pref("userChrome.compatibility.panel_cutoff",         true);
  206. // user_pref("userChrome.compatibility.navbar_top_border",    true);
  207. // user_pref("userChrome.compatibility.dynamic_separator",    true); // Need dynamic_seperator
  208.  
  209. // user_pref("userChrome.compatiblity.os.linux_non_native_titlebar_button", true);
  210. // user_pref("userChrome.compatibility.os.windows_maximized, true");
  211.  
  212. // == Theme Custom Settings ====================================================
  213. // -- User Chrome --------------------------------------------------------------
  214. // user_pref("userChrome.decoration.disable_panel_animate",    true);
  215. // user_pref("userChrome.decoration.disable_sidebar_animate",  true);
  216.  
  217. // user_pref("userChrome.theme.proton_color.dark_blue_accent", true);
  218.  
  219. // user_pref("userChrome.rounding.square_button",              true);
  220. // user_pref("userChrome.rounding.square_panel",               true);
  221. // user_pref("userChrome.rounding.square_panelitem",           true);
  222. // user_pref("userChrome.rounding.square_menupopup",           true);
  223. // user_pref("userChrome.rounding.square_menuitem",            true);
  224. // user_pref("userChrome.rounding.square_field",               true);
  225. // user_pref("userChrome.rounding.square_checklabel",          true);
  226.  
  227. // user_pref("userChrome.padding.first_tab",                   true);
  228. // user_pref("userChrome.padding.drag_space",                  true);
  229. // user_pref("userChrome.padding.drag_space.maximized",        true);
  230.  
  231. // user_pref("userChrome.padding.menu_compact",                true);
  232. // user_pref("userChrome.padding.bookmark_menu.compact",       true);
  233. // user_pref("userChrome.padding.urlView_expanding",           true);
  234. // user_pref("userChrome.padding.urlView_result",              true);
  235. // user_pref("userChrome.padding.panel_header",                true);
  236.  
  237. // user_pref("userChrome.urlView.move_icon_to_left",           true);
  238. // user_pref("userChrome.urlView.go_button_when_typing",       true);
  239. // user_pref("userChrome.urlView.always_show_page_actions",    true);
  240.  
  241. // user_pref("userChrome.tab.on_bottom",                       true);
  242. // user_pref("userChrome.tab.on_bottom.above_bookmark",        true); // Need on_bottom
  243. // user_pref("userChrome.tab.on_bottom.menubar_on_top",        true); // Need on_bottom
  244. // user_pref("userChrome.tab.always_show_tab_icon",            true);
  245. // user_pref("userChrome.tab.close_button_at_pinned",          true);
  246. // user_pref("userChrome.tab.close_button_at_pinned.always",   true);
  247. // user_pref("userChrome.tab.close_button_at_pinned.background", true);
  248. // user_pref("userChrome.tab.close_button_at_hover.always",    true); // Need close_button_at_hover
  249. // user_pref("userChrome.tab.sound_show_label",                true); // Need remove sound_hide_label
  250. // user_pref("userChrome.tab.centered_label",                  true);
  251.  
  252. // user_pref("userChrome.panel.remove_strip",                  true);
  253. // user_pref("userChrome.panel.full_width_separator",          true);
  254. // user_pref("userChrome.panel.full_width_padding",            true);
  255.  
  256. // user_pref("userChrome.icon.account_image_to_right",         true);
  257. // user_pref("userChrome.icon.account_label_to_right",         true);
  258. // user_pref("userChrome.icon.menu.full",                      true);
  259. // user_pref("userChrome.icon.global_menu.mac",                true);
  260.  
  261. // -- User Content -------------------------------------------------------------
  262. // user_pref("userContent.player.ui.twoline",                  true);
  263.  
  264. // user_pref("userContent.page.proton_color.dark_blue_accent", true);
  265. // user_pref("userContent.page.proton_color.system_accent",    true);
  266.  
  267. // == Theme Default Settings ===================================================
  268. // -- User Chrome --------------------------------------------------------------
  269. user_pref("userChrome.compatibility.theme",       true);
  270. user_pref("userChrome.compatibility.os",          true);
  271.  
  272. user_pref("userChrome.theme.built_in_contrast",   true);
  273. user_pref("userChrome.theme.system_default",      true);
  274. user_pref("userChrome.theme.proton_color",        true);
  275. user_pref("userChrome.theme.proton_chrome",       true); // Need proton_color
  276. user_pref("userChrome.theme.fully_color",         true); // Need proton_color
  277. user_pref("userChrome.theme.fully_dark",          true); // Need proton_color
  278.  
  279. user_pref("userChrome.decoration.cursor",         true);
  280. user_pref("userChrome.decoration.field_border",   true);
  281. user_pref("userChrome.decoration.download_panel", true);
  282. user_pref("userChrome.decoration.animate",        true);
  283.  
  284. user_pref("userChrome.padding.tabbar_width",      true);
  285. user_pref("userChrome.padding.tabbar_height",     true);
  286. user_pref("userChrome.padding.toolbar_button",    true);
  287. user_pref("userChrome.padding.navbar_width",      true);
  288. user_pref("userChrome.padding.urlbar",            true);
  289. user_pref("userChrome.padding.bookmarkbar",       true);
  290. user_pref("userChrome.padding.infobar",           true);
  291. user_pref("userChrome.padding.menu",              true);
  292. user_pref("userChrome.padding.bookmark_menu",     true);
  293. user_pref("userChrome.padding.global_menubar",    true);
  294. user_pref("userChrome.padding.panel",             true);
  295. user_pref("userChrome.padding.popup_panel",       true);
  296.  
  297. user_pref("userChrome.tab.multi_selected",        true);
  298. user_pref("userChrome.tab.unloaded",              true);
  299. user_pref("userChrome.tab.letters_cleary",        true);
  300. user_pref("userChrome.tab.close_button_at_hover", true);
  301. user_pref("userChrome.tab.sound_hide_label",      true);
  302. user_pref("userChrome.tab.sound_with_favicons",   true);
  303. user_pref("userChrome.tab.pip",                   true);
  304. user_pref("userChrome.tab.container",             true);
  305. user_pref("userChrome.tab.crashed",               true);
  306.  
  307. user_pref("userChrome.fullscreen.overlap",        true);
  308. user_pref("userChrome.fullscreen.show_bookmarkbar", true);
  309.  
  310. user_pref("userChrome.icon.library",              true);
  311. user_pref("userChrome.icon.panel",                true);
  312. user_pref("userChrome.icon.menu",                 true);
  313. user_pref("userChrome.icon.context_menu",         true);
  314. user_pref("userChrome.icon.global_menu",          true);
  315. user_pref("userChrome.icon.global_menubar",       true);
  316.  
  317. // -- User Content -------------------------------------------------------------
  318. user_pref("userContent.player.ui",             true);
  319. user_pref("userContent.player.icon",           true);
  320. user_pref("userContent.player.noaudio",        true);
  321. user_pref("userContent.player.size",           true);
  322. user_pref("userContent.player.click_to_play",  true);
  323. user_pref("userContent.player.animate",        true);
  324.  
  325. user_pref("userContent.newTab.field_border",   true);
  326. user_pref("userContent.newTab.full_icon",      true);
  327. user_pref("userContent.newTab.animate",        true);
  328. user_pref("userContent.newTab.pocket_to_last", true);
  329. user_pref("userContent.newTab.searchbar",      true);
  330.  
  331. user_pref("userContent.page.illustration",     true);
  332. user_pref("userContent.page.proton_color",     true);
  333. user_pref("userContent.page.dark_mode",        true); // Need proton_color
  334. user_pref("userContent.page.proton",           true); // Need proton_color
  335.  
  336. // ** Useful Options ***********************************************************
  337. // Integrated calculator at urlbar
  338. user_pref("browser.urlbar.suggest.calculator", true);
  339.  
  340. // Integrated unit convertor at urlbar
  341. // user_pref("browser.urlbar.unitConversion.enabled", true);
  342.  
  343. // Draw in Titlebar
  344. // user_pref("browser.tabs.drawInTitlebar", true);
  345. // user_pref("browser.tabs.inTitlebar",        1); // Nightly, 96 Above
  346.  
  347. // ** Scrolling Settings *******************************************************
  348. // == Only Sharpen Scrolling ===================================================
  349. //         Pref                                             Value      Original
  350. /*
  351. user_pref("mousewheel.min_line_scroll_amount",                 10); //        5
  352. user_pref("general.smoothScroll.mouseWheel.durationMinMS",     80); //       50
  353. user_pref("general.smoothScroll.currentVelocityWeighting", "0.15"); //   "0.25"
  354. user_pref("general.smoothScroll.stopDecelerationWeighting", "0.6"); //    "0.4"
  355. */
  356.  
  357. // == Smooth Scroling ==========================================================
  358. // ** Scrolling Options ********************************************************
  359. // based on natural smooth scrolling v2 by aveyo
  360. // this preset will reset couple extra variables for consistency
  361. //         Pref                                              Value                 Original
  362. /*
  363. user_pref("apz.allow_zooming",                               true);            ///     true
  364. user_pref("apz.force_disable_desktop_zooming_scrollbars",   false);            ///    false
  365. user_pref("apz.paint_skipping.enabled",                      true);            ///     true
  366. user_pref("apz.windows.use_direct_manipulation",             true);            ///     true
  367. user_pref("dom.event.wheel-deltaMode-lines.always-disabled", true);            ///    false
  368. user_pref("general.smoothScroll.currentVelocityWeighting", "0.12");            ///   "0.25" <- 1. If scroll too slow, set to "0.15"
  369. user_pref("general.smoothScroll.durationToIntervalRatio",    1000);            ///      200
  370. user_pref("general.smoothScroll.lines.durationMaxMS",         100);            ///      150
  371. user_pref("general.smoothScroll.lines.durationMinMS",           0);            ///      150
  372. user_pref("general.smoothScroll.mouseWheel.durationMaxMS",    100);            ///      200
  373. user_pref("general.smoothScroll.mouseWheel.durationMinMS",      0);            ///       50
  374. user_pref("general.smoothScroll.mouseWheel.migrationPercent", 100);            ///      100
  375. user_pref("general.smoothScroll.msdPhysics.continuousMotionMaxDeltaMS", 12);   ///      120
  376. user_pref("general.smoothScroll.msdPhysics.enabled",                  true);   ///    false
  377. user_pref("general.smoothScroll.msdPhysics.motionBeginSpringConstant", 200);   ///     1250
  378. user_pref("general.smoothScroll.msdPhysics.regularSpringConstant",     200);   ///     1000
  379. user_pref("general.smoothScroll.msdPhysics.slowdownMinDeltaMS",         10);   ///       12
  380. user_pref("general.smoothScroll.msdPhysics.slowdownMinDeltaRatio",  "1.20");   ///    "1.3"
  381. user_pref("general.smoothScroll.msdPhysics.slowdownSpringConstant",   1000);   ///     2000
  382. user_pref("general.smoothScroll.other.durationMaxMS",         100);            ///      150
  383. user_pref("general.smoothScroll.other.durationMinMS",           0);            ///      150
  384. user_pref("general.smoothScroll.pages.durationMaxMS",         100);            ///      150
  385. user_pref("general.smoothScroll.pages.durationMinMS",           0);            ///      150
  386. user_pref("general.smoothScroll.pixels.durationMaxMS",        100);            ///      150
  387. user_pref("general.smoothScroll.pixels.durationMinMS",          0);            ///      150
  388. user_pref("general.smoothScroll.scrollbars.durationMaxMS",    100);            ///      150
  389. user_pref("general.smoothScroll.scrollbars.durationMinMS",      0);            ///      150
  390. user_pref("general.smoothScroll.stopDecelerationWeighting", "0.6");            ///    "0.4"
  391. user_pref("layers.async-pan-zoom.enabled",                   true);            ///     true
  392. user_pref("layout.css.scroll-behavior.spring-constant",   "250.0");            ///   "250.0"
  393. user_pref("mousewheel.acceleration.factor",                     3);            ///       10
  394. user_pref("mousewheel.acceleration.start",                     -1);            ///       -1
  395. user_pref("mousewheel.default.delta_multiplier_x",            100);            ///      100
  396. user_pref("mousewheel.default.delta_multiplier_y",            100);            ///      100
  397. user_pref("mousewheel.default.delta_multiplier_z",            100);            ///      100
  398. user_pref("mousewheel.min_line_scroll_amount",                  0);            ///        5
  399. user_pref("mousewheel.system_scroll_override.enabled",       true);            ///     true <- 2. If scroll too fast, set to false
  400. user_pref("mousewheel.system_scroll_override_on_root_content.enabled", false); ///     true
  401. user_pref("mousewheel.transaction.timeout",                  1500);            ///     1500
  402. user_pref("toolkit.scrollbox.horizontalScrollDistance",         4);            ///        5
  403. user_pref("toolkit.scrollbox.verticalScrollDistance",           3);            ///        3
  404. */
  405.  
  406.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement