Scroll Volume Dx Edition

Added single-entry settings menu, long-press functions, Global/Independent settings toggle, Scroll range reduction, Partial feature disable. Key5 long-press toggle speed, Key1/3 long-press non-linear acceleration. Added initial volume memory, video switch focus. Volume save debounce, clear settings. Force unmute protection. Fixed volume modifier key support for wheel events. Optimized long-press detection time and Key 1/3 repeat rate.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Upphovsman
xzy D
Dagliga installationer
1
Totala installationer
82
Betyg
4 0 0
Version
10.38
Skapad
2025-05-18
Uppdaterad
2026-04-05
Size
65,5 KB
Licens
MIT
Gäller för
Alla sidor

Generated by AI.

Update Notes:
10.35 give up Meta, because Facebook's code is complex, and enabling the setting would cause the page to freeze, requiring a restart.
10.30 try fix steam video switch
10.21 fix youtube embed Scroll Volume
10.20 You can now use /* to switch playlists on YouTube, Bilibili, and Steam (if they exist).
10.18 update webfullscreen, for youtube bilibili and twitch.
10.09 Add volume control, preset it to remember the last volume of individual domains and apply it automatically, without needing to enable separate settings.
10.05 look settings menu.
It seems the reality is that at most, someone will take it apart and make minor modifications, rather than truly taking over and improving it. So I had to do it myself, even if I don't modify it anymore, it's enough for my personal use. Since I don't have real technical expertise, bugs and defects are inevitable.

9.10 YouTube has its own highway; I have my own narrow bridge.
Due to the insurmountable Error 153 and my unwillingness to use alternative web-based embed services,
I modified the Scroll-to-Adjust-Volume DX script to support switching among three zoom modes.
The default mode is 2, which can be changed via the Tampermonkey menu.

1.YouTube’s native fullscreen, triggered by F, numpad Enter, or double-clicking the video.
If active, the chat window pops up… Not sure if this now applies to all users.

2.Browser-native fullscreen (under refinement), triggered by numpad Enter, or double-clicking the video.
No chat window appears since it only enlarges the video.
This mode is suitable if you dislike YouTube’s native changes.
Has anyone made a standalone script for this behavior? I’ve seen scripts modifying theater mode.

3.Custom-styled video enlargement effect, triggered by numpad Enter, or double-clicking the video.
Although it scales the video, the goal resembles “web fullscreen.”
Currently implemented by creating a container at the top of the page and embedding the YouTube player inside it.
(Originally centered and covering the entire viewport—looked 87% like real fullscreen—but later changed to this odd layout.)
Thus, only the video appears with no overlay controls; playback toggles via single-click on the container,
and other controls rely solely on keyboard shortcuts defined by the script.
Mode 3 was designed to address three personal needs:
dislike of theater mode’s clumsiness, multi-instance playback on secondary monitors,
and temporary replacement for multiple players. Operational flaws may be improved later.

9.6.1 Fixed Steam scroll wheel.
9.6.0 While adjusting browser hotkeys, I discovered a conflict: any key combined with the hotkey triggered controls.
Fixed this issue and added customizable modifier keys for fine volume adjustment
(Modifier + 8 or 2 adjusts volume by ±1%) and an English menu option.
9.5.6 Fixed: sites without user-defined settings no longer create records.
Improved sorting of local storage settings.
Restored default platforms (YouTube, Bilibili): video navigation via keys 7/9 is now option 4.
Users who previously customized this must reconfigure manually.
Old settings aren’t auto-deleted; if needed, go to this script’s storage page in Tampermonkey and save when only {} remains.
9.5.3 Originally allowed customizing only step, long-step, and volume-step—but settings were global.
Now each site can have its own customizations, and keys 7/9 are newly supported:
Option 1: Duration of long-step
Option 2: Navigate to previous/next page on the site (7 = previous, 9 = next, fixed mapping)
Option 3: Switch control target among multiple video containers on the same page (same fixed mapping)

Script Purpose:

Use mouse wheel on identifiable players to adjust volume.
Perform essential operations using only the numpad.
I use // @match :///* (manually added) because it covers basic universal players—may work on regular sites too.
Controls (outside input fields):
Numpad 0/1/3: playback speed
Numpad 2/8: volume
Numpad 4/6: rewind/forward 5 seconds
Numpad 5 (and Space?): play/pause
Numpad Enter: toggle fullscreen mode

Platform-specific behavior for keys 7/9:
YouTube: previous/next video
Bilibili: previous/next video
Twitch: unused
Steam / Generic sites: seek ±30 seconds

Functionality may work on some sites but not others, or suffer partial breakage—after all, this is a personal-use script.