您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Adds a floating volume slider with up to 600% boost. Features: Global Volume (per-tab persistence), Remember Per Video (manual save), and One-Time Restore for browser restarts (now with a toggle, and data for previous video is cleared on new video load).
当前为
YouTube Volume Booster 600% (Tampermonkey Script)
This Tampermonkey script enhances your YouTube viewing experience by providing a floating volume slider that allows you to boost audio up to 600% of the original volume. Beyond simple boosting, it incorporates several intelligent features to manage your volume settings across different videos and browser sessions.
Here's a breakdown of its key functionalities:
Volume Boost up to 600% (Amplify Audio):
The primary function is to increase the maximum possible volume beyond YouTube's default 100%. This is achieved via an integrated audio context and gain node, allowing for significant amplification.
A floating slider (located at the bottom-right of the video player) provides intuitive control over the boosted volume level.
Global Volume for Current Tab (Per-Tab Persistence):
Purpose: This feature ensures that the last set volume is remembered and applied to all videos played within the same browser tab.
How it works: When enabled, the script saves the current volume setting to a unique ID assigned to the browser tab. If you navigate to another YouTube video in the same tab, that saved "global" volume for the tab will be automatically applied.
Toggle: You can easily enable or disable this feature via a dedicated gear-shaped icon on the UI. When disabled, the volume will reset to 100% (or other prioritized settings) for new videos.
Remember Volume Per Video (Manual Save & Recall):
Purpose: This feature allows you to manually save a specific volume level for individual YouTube videos. The script will then recall this exact volume whenever you revisit that particular video, regardless of the tab or session.
How it works: When this feature is enabled (via its dedicated bookmark-shaped toggle icon), a "Save" icon (floppy disk) becomes active. Clicking this "Save" icon will permanently store the current slider volume for the current video ID.
Toggle: You can enable or disable this feature. When disabled, the manual "Save" button will be dimmed and unclickable, and previously saved per-video volumes will not be automatically applied.
One-Time Restore (Browser Restart Persistence with Smart Clearing):
Purpose: Designed for continuity, this feature attempts to restore the volume of the currently playing video if your browser is closed and reopened.
How it works: When enabled, the script continuously saves the current volume for the active video. Upon browser restart and navigating back to that specific video, the volume is automatically restored.
New in v3.9.17: Critically, the one-time restore data for the previous video is cleared when you navigate to a new video within the same Browse session. This prevents unwanted volume restorations for videos you've already moved past.
Toggle: This feature can be enabled or disabled via a dedicated refresh-shaped icon. By default, it is enabled.
Language Toggle (English/Vietnamese):
Purpose: Allows users to switch the UI text and console messages of the script between English and Vietnamese.
How it works: A globe-shaped icon on the UI acts as a toggle. Clicking it will switch the display language and update all corresponding text strings. The chosen language setting is persistently saved.
Intuitive UI and Debugging:
The volume slider and feature toggles appear as a compact, floating UI that seamlessly integrates with the YouTube player. It's designed to fade in on hover for a clean look.
Includes a built-in window.checkBoosterStorage() function (callable from the browser console) to easily inspect all saved settings and feature states, aiding in debugging and understanding the script's behavior.
This script aims to provide a comprehensive and user-friendly solution for managing and boosting YouTube audio, with intelligent persistence options to suit various user preferences.