Greasy Fork

Greasy Fork is available in English.

YouTubeAdSolutions

高级徽标、下载器、音频功能、跳过高亮、画中画、迷你播放器、速度控制和 Shorts 音量滑块。

当前为 2026-01-23 提交的版本,查看 最新版本

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
_XPK_
评分
0 0 0
版本
2.1
创建于
2026-01-04
更新于
2026-01-23
大小
34.4 KB
许可证
MIT
适用于

🚀 YouTubeAdSolutions - Ultimate Audio & Ad Tool

Premium-Logo • Downloader • Audio-Features • Skip-Highlight • Smart Ad Bypass/Skip • Picture-in-Picture • Miniplayer • Speed-Control • Shorts Volume Slider.

Key Highlights:
⚡ Smart Ad Bypass: Detects ads instantly (200ms cycle), mutes them, and fast-forwards at 2x speed. The skip button is highlighted with a striking Neon-Magenta glow.
🔊 1000% Volume Boost: Push your hardware to its limits. Click the red button to reveal the yellow slider for up to 10x gain.
🎸 30dB Bass Boost: Massive low-end punch via a professional low-shelf filter (0-30dB), controlled by the orange slider.
⬇️ Pro Downloader: Integrated download menu directly in the player. Quick access to Cobalt, Y2Mate, Loader.to, and more.
📱 Shorts Volume Slider: Finally, full control! An interactive vertical volume slider appears exclusively on the right side for all YouTube Shorts.
🎨 Premium UI & Logo: Replaces the standard YouTube logo with the sleek Premium design. All controls blend seamlessly into the native player.
🖼️ Multi-Tasking: Dedicated buttons and hotkeys for Picture-in-Picture and the Miniplayer.

## 🎮 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 2.1
🛡️ Bug Fixes & Overlap Prevention: Resolved logo rendering issues and ensured clean UI placement.
⚡ Improved Performance and Anti-Pause Automation

Version 2.0
🛡️ Updated for the new YouTube layout changes and ad-block detection.
⚡ Improved Performance: Optimized intervals for lower CPU usage

Version 1.6
📥 Multi-Source Downloader: A complete overhaul of the downloading system. Replaced the single-link button with a floating multi-source dropdown menu featuring 7 premium services (Y2Mate, Cobalt, SaveFrom, Loader.to, and more).
🧭 Smart Position Engine: The download menu now uses a dynamic positioning logic (getBoundingClientRect). It automatically detects available screen space to flip the menu upward or downward, ensuring it never gets cut off by the player or window borders.
✨ Skip-Button Visualizer: Enhanced visual feedback for ad-blocking. The "Skip Ad" button now features a vibrant green glow effect and a reinforced border as soon as it becomes available.
🛡️ Anti-Detection Delay: To bypass YouTube's latest automated click-detection algorithms, the script now implements a strategic 3-second delay before auto-clicking the skip button on long-form ads.
🧼 CSS Refactoring: Replaced the legacy "Ghost-Click" JavaScript logic with a pure CSS z-index prioritization. This improves performance and eliminates input lag in the search bar.
🔗 UI Seamless Integration: The download button is now dynamically injected next to the native YouTube "Share" button, providing a native look and feel that adapts to the modern YouTube layout.

Version 1.5.2
👻 Ghost Click Technology: Introduced a new system that intelligently routes clicks through invisible YouTube overlays directly into the search bar. Search now works flawlessly even if blocked by hidden layers.
🛡️ Radical UI Protection: Drastically increased Z-Index (to 60,000) for the header and search box to guarantee they stay above all new ad-blocker detection layers.
🧠 Smarter Background Play: Refined "Anti-Pause" logic. It no longer forces auto-play when simply switching tabs (less intrusive), but still reliably blocks "Are you still there?" dialogs.
🧹 Banner Cleanup Fix: Resolved a critical CSS bug where visual banner ads (Home/Sidebar) could remain visible in the previous version.

Version 1.5.1
Critical Search Fix: Resolved the "Frozen Search Bar" issue where users couldn't click or type into the new YouTube search box.
Smart Click-Through: Added a mousedown listener to ensure clicks reach the search input even if hidden overlays are present.
Enhanced Z-Index Management: Forced the search container to the top layer (z-index: 9999) to prevent ad-placeholders from blocking interactions.
Improved Hotkey Logic: Refined isSearchField detection to support the latest YouTube component classes (yt-searchbox), preventing "P" (PiP) from triggering while searching.
Redundant Ad-Blocking: Updated CSS rules to clean up the 2026 homepage layout and remove empty ad slots.

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).