Greasy Fork is available in English.
结合低音增强、1000%音量、智能广告拦截加速、Picture-in-Picture和Shorts支持
当前为
🚀 YouTubeAdSolutions - Ultimate Audio & Ad Tool
Bass Boost • 1000% Volume • Smart Ad Skip • Picture-in-Picture • Shorts Support
⚡ **Smart Ad Speedup**: 15x speed after 2s (Shorts: 2x), auto-mute, Skip-Button
🔊 **1000% Volume Boost**: Toggle-Button → Yellow Slider (1x-10x Gain)
🎸 **Bass Boost**: Toggle-Button → Orange Slider (0-30dB Low-Shelf)
📱 **Shorts Support**: Rotating Volume-Slider
🎨 **Clean UI**: 3 Toggle-Buttons with Live-Labels
⬇️ **Video Download Button** (gotofreight.ca)
🔥 **Premium YouTube Logo** (SVG Play-Button)
🖼️ **Picture-in-Picture**: Button + "P" hotkey
📺 ++Miniplayer**: Button + "I" hotkey
⏸️ **Smart Anti-Pause**: Auto-resume background/popups
## 🎮 How to Use
**Click** the 3 colorful buttons (right of time display):
* 🔴 Red → **Volume** slider appears (0-100%)
* 🟡 Yellow → **Booster** slider (1x-10x)
* 🟠 Orange → **Bass** slider (0-30dB)
🖼️ Picture-in-Picture (PiP):
* Click PiP Button (right controls) or press **P** key
* Toggle anytime – enter/exit PiP instantly
* Resize freely – Drag corners to enlarge/shrink window
* Move anywhere – Drag PiP to any screen position
📺 Miniplayer Mode:
* Click Miniplayer Button (right controls) or press I key
+ Multitask easily – Watch while browsing other YouTube pages
+ Stay on site – The video stays pinned to the bottom-right corner
+ Seamless control – Play, pause, or skip directly from the small window
Feel free to use, modify, share or even steal this code.
📋 Changelog
Version 1.5
🖼️ Picture-in-Picture & Miniplayer: Added a dedicated PiP toggle button to the player bar and integrated YouTube Miniplayer support. The "P" hotkey now instantly triggers Picture-in-Picture mode.
⌨️ Smart Keyboard Logic: A complete overhaul of the hotkey system. The script now intelligently detects whether you are using hotkeys for video control or typing in the Search Bar (including the new ytSearchbox layout), ensuring no input conflicts.
🔧 Key Fixes
🔍 Searchbox Compatibility: Specifically optimized for the new YouTube design (ytSearchboxComponentInput). This ensures that typing in the search bar is never blocked or interrupted by the script's hotkeys.
⚡ Capture-Mode Processing: Implemented "Capture" event listeners to resolve conflicts with YouTube's internal scripts, making the search experience smooth and responsive.
Version 1.4
🖼️ Picture-in-Picture Button: New PiP toggle in right controls + "P" hotkey
⏸️ Smart Anti-Pause: Auto-resume on background/popups (ignores manual pauses)
🛡️ UI Dup-Protection: Prevents duplicate sliders on re-runs
🔧 Refined setupUI(): Splits audio controls (left) + PiP (right)
Version 1.3
🔥 Premium YouTube Logo: SVG Play-Button-Injection (replaces cyan color)
⬇️ Video Downloader: "Download" Button in Owner section (gotofreight.ca)
🛡️ Trusted Types Fix: CSP compatible (modern browsers)
🔧 Audio Leak Prevention: source.disconnect() + safe initAudio() Checks
🎵 beforeunload Cleanup: Closes AudioContext on tab close
🧹 Extended CSS: + ytd-rich-item-renderer + download-button-renderer
⚡ Robust Ad-Blocker: tp-yt-iron-overlay + Auto-Play after overlay removal
Version 1.2
🎨 New Toggle-UI: 3 compact buttons (red/yellow/orange) with SVG-Icons
✨ Click-to-Slider: Sliders + Live-Labels (e.g. "5.2x", "12dB") appear on click
🔧 Better Position: Controls now next to Time-Display (clean look)
🐛 Improved Styling: !important for logo color + Ad-Overlays
⚡ Optimized: Combined runChecks() for Ads + UI-Setup
Version 1.1
✨ New: Massive multilingual update (36+ languages supported).
🌍 Global: Optimized for worldwide indexing and visibility.
🛠️ Refined: Better description metadata for all major regions (Asia, Europe, Americas, Middle East).