您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Adds a floating volume slider with up to 600% boost. Features: Global Volume, Remember Per Video, One-Time Restore, Draggable UI. Fixes resize and idle-hide bugs.
Volume Boost up to 600%:
Uses AudioContext and GainNode to amplify YouTube video audio up to 600%.
Floating Volume Slider (Draggable UI):
Creates a draggable volume slider UI within the #movie_player element.
Saves position as percentages relative to the player’s dimensions, ensuring stability across video changes or browser resizing.
Global Volume:
Persists a consistent volume level across all videos in a tab, stored using GM_setValue with the key youtubeGlobalVolumePerTab_v2_.
Remember Per Video:
Saves individual volume settings for each video (based on videoId) using GM_setValue with the key youtubeVolumeSettings_v2.
Includes a manual save button to store the volume for the current video when this feature is enabled.
One-Time Restore:
Stores a video’s volume to restore it when revisiting the video in the same browsing session, using GM_setValue with the key youtubeRestoreVolume_v3_videoId_map.
Clears restore data when switching to a different video.
Language Toggle:
Supports two languages (Vietnamese and English) for the UI and notifications, with the state saved using GM_setValue with the key youtubeBoosterLanguage_v1.
Clear Manual Storage:
Provides a Tampermonkey menu command to clear all per-video volume data, with a confirmation prompt before execution.
Storage Inspection:
Exposes window.checkBoosterStorage() to log the state of stored settings (volume, toolbar position, feature states) in the console.
Auto Hide/Show:
Hides the toolbar when the YouTube player is in auto-hide mode (ytp-autohide) and shows it when the mouse hovers over the player.
Error Handling and Optimization:
Initializes the toolbar only after the page fully loads (via the load event).
Fixes toolbar position jumping by storing positions as percentages.
Optimizes performance with debouncing (debouncedInitialize) and reduced DOM queries.
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址