forked from yokoffing/Betterfox
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSmoothFox.js
More file actions
34 lines (31 loc) · 1.88 KB
/
SmoothFox.js
File metadata and controls
34 lines (31 loc) · 1.88 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
//
/* Do not COPY+PASTE this file. If you do, only COPY+PASTE the user_pref itself.
*
* If you make changes to your about:config while the program is running, the
* changes will be overwritten when the application restarts.
*
* To make a change to preferences, you will have to edit the user.js file.
*/
/****************************************************************************
* SmoothFox *
* "Faber est suae quisque fortunae." *
* priority: smooth scrolling *
* version: March 2021 *
* url: https://github.com/hjstephens09/Better-Fox *
***************************************************************************/
/****************************************************************************
* SECTION: SMOOTH SCROLLING (OVERALL IMPROVEMENT OF DEFAULTS) *
****************************************************************************/
user_pref("general.smoothScroll", true);
user_pref("general.smoothScroll.mouseWheel.durationMaxMS", 150);
user_pref("general.smoothScroll.mouseWheel.durationMinMS", 125);
/******************************************************************************
* SECTION: EDGE-LIKE SMOOTH SCROLLING *
******************************************************************************/
user_pref("general.smoothScroll", true);
user_pref("general.smoothScroll.currentVelocityWeighting", "0.1");
user_pref("general.smoothScroll.mouseWheel.durationMaxMS", 250);
user_pref("general.smoothScroll.mouseWheel.durationMinMS", 125);
user_pref("general.smoothScroll.stopDecelerationWeighting", "0.7");
user_pref("mousewheel.min_line_scroll_amount", 25);
user_pref("apz.overscroll.enabled", true); /*elastic overscroll*/