Skip to content

Commit 48efd76

Browse files
committed
Windows scrolling personality, info
+ Added commented-out settings for replicating the Windows scrolling personality to the user.js file + Added author info to the winui-settings.uc.js script - Removed logging from the winui-settings.uc.js script
1 parent 9dfcecc commit 48efd76

File tree

2 files changed

+15
-3
lines changed

2 files changed

+15
-3
lines changed

optional-js/winui-settings.uc.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
// ==UserScript==
22
// @name WinUI Settings Button
33
// @description Adds toolbar button and menu item for WinUI theme settings
4-
// @author YourName
4+
// @author Vibe-coded with Claude Sonnet 4.5
5+
// @version 1.0
56
// @include main
67
// @shutdown UC_API.Runtime.goQuitApplication
78
// ==/UserScript==
@@ -110,6 +111,4 @@
110111
Services.wm.removeListener(windowListener);
111112
};
112113
}
113-
114-
console.log("WinUI Settings: Toolbar button and menu item created");
115114
})();

user.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,16 @@ user_pref("browser.newtabpage.activity-stream.newtabLayouts.variant-a", false);
1111
user_pref("browser.newtabpage.activity-stream.newtabLayouts.variant-b", false);
1212
user_pref("browser.startup.blankWindow", false);
1313
user_pref("sidebar.revamp.round-content-area", false);
14+
15+
// Optional Windows scrolling personality recreation
16+
//user_pref("apz.overscroll.enabled", true);
17+
//user_pref("general.smoothScroll.msdPhysics.continuousMotionMaxDeltaMS", 12);
18+
//user_pref("general.smoothScroll.msdPhysics.enabled", true);
19+
//user_pref("general.smoothScroll.msdPhysics.motionBeginSpringConstant", 600);
20+
//user_pref("general.smoothScroll.msdPhysics.regularSpringConstant", 650);
21+
//user_pref("general.smoothScroll.msdPhysics.slowdownMinDeltaMS", 25);
22+
//user_pref("general.smoothScroll.msdPhysics.slowdownMinDeltaRatio", "2");
23+
//user_pref("general.smoothScroll.msdPhysics.slowdownSpringConstant", 250);
24+
//user_pref("general.smoothScroll.currentVelocityWeighting", "1");
25+
//user_pref("general.smoothScroll.stopDecelerationWeighting", "1");
26+
//user_pref("mousewheel.default.delta_multiplier_y", 300);

0 commit comments

Comments
 (0)