1
0
mirror of https://github.com/yokoffing/Betterfox.git synced 2026-06-12 15:40:48 +05:30
Files
Betterfox/SmoothFox.js
T
2021-03-24 22:10:05 -04:00

35 lines
1.9 KiB
JavaScript

//
/* 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*/