ベースブースト、音量/ブーストスライダー、YouTube Music向けインテリジェント広告ブロック加速を組み合わせ।
🎵 YouTubeMusicAdSolutions
Audio Enhancer & Smart Ad Skipper
The ultimate power-tool for YouTube Music. This userscript combines a professional-grade audio engine with an intelligent ad-blocking logic, seamlessly integrated into the original YTM interface.
✨ Features
🎚️ VOL Slider (0-100%): High-precision volume control located directly in the player bar.
🔊 BOOST Slider (1x-10x): Amplify your sound far beyond natural limits without losing quality.
🥁 BASS Slider (0-30dB): Deep, rich bass powered by a professional Lowshelf Filter at 150Hz.
⚡ Smart AdBlocker: Instantly detects ads, mutes them, and fast-forwards them at 16x speed.
🎛️ Technical Highlights
Web Audio API Integration: Uses BiquadFilterNode and GainNode for real-time, hardware-accelerated audio manipulation.
Zero-Conflict Interaction: All controls are protected with stopPropagation()—no more accidental video pausing when adjusting your sound.
Premium UI: Automatic injection of the Premium Logo and a modern, dark interface design with glassmorphism effects.
Persistent Storage: Your preferences (Bass, Boost, Volume) are automatically saved and reloaded for every song.
**⚠️ Note:** Audio effects require first click/play (browser autoplay protection)
Feel free to use, modify, share or even steal this code.
📋 Changelog
Version 2.0
🛡️ Updated for the new YouTube layout changes and ad-block detection.
⚡ Improved Performance: Optimized intervals for lower CPU usage
Version 1.1
🔊 More stable audio setup: Single AudioContext initialization with persistent Boost/Bass settings per session.
🧠 Smarter auto-resume: Detects manual pauses and prevents YouTube Music from stopping playback when you are just listening.
⚡ Improved ad speedup: Faster detection of ad interruptions and automatic reset of playback speed and mute after ads.
🎨 UI polish: Compact, semi-transparent control bar with dedicated Volume/Boost/Bass sliders in the player header.
🛡️ Trusted Types compatibility: Works with current security policies so the script keeps running even after YouTube updates.