Greasy Fork is available in English.
高级徽标、下载器、音频功能、跳过高亮、画中画、迷你播放器、速度控制、Shorts 音量滑块、高级循环模式、截图工具和自动确认。
这些是此脚本的所有版本。 只显示代码变更过的版本。
Version 2.5🔬 New: Hardware Acceleration CheckThe script now automatically detects on startup whether your browser is using real GPU hardware or falling back to slow software emulation (e.g. SwiftShader). If hardware acceleration is disabled, a prominent warning overlay guides you step-by-step to the correct browser settings page. The check can be permanently disabled via the Settings menu.⚙️ Settings: GPU ToggleThe Script Settings menu now includes a "Hardware Check" toggle. This lets you enable or disable the GPU warning alert at any time, with your preference saved persistently via localStorage.🧹 Enhanced Console Noise FilterThe log cleanup system has been completely rebuilt. It now silences console.warn and console.log in addition to console.error, and covers a significantly wider range of noise sources including Google Ads trackers, DoubleClick, CORS policy warnings, and internal YouTube system messages — keeping your DevTools clean without missing anything important.🔗 Auto-Update SupportAdded @downloadURL and @updateURL metadata, enabling Tampermonkey to automatically detect and install new versions directly from Greasy Fork.🌐 Internationalized LoggingAll internal console messages have been standardized to English for consistency across international setups.🔄 Improved Reset BehaviorThe "Reset All to Default" action in the Settings menu now triggers an automatic page reload to ensure all changes take effect immediately and cleanly.
Version 2.4.2🚀 New: Priority Key-Hijacking (PiP-Fix): A new high-priority listener intercepts the PiP hotkey before YouTube can block it. By utilizing the Capture Phase (true), your script now takes precedence over the internal player commands of the new 2026 layout.🛡️ Ad-Engine: UniPlayer Sync: Ad-evasion has been specifically calibrated for the UNIPLAYER mode. The script now enforces muting and 2x playback speed even more aggressively to eliminate "audio bursts" at the start of ad breaks.⚙️ Dynamic Hotkey Binding: The PiP hotkey is now fully decoupled. Changes made in the Settings menu are applied instantly in real-time without requiring a page refresh.
Version 2.4.1🚀 Performance Optimization: Bug Fixes
Version 2.4🚀 New: Multi-Stage Loop Mode: Introduced a sophisticated looping system with three states: Off, Repeat Once (Orange), and Infinite Loop (Blue). It uses a custom timeupdate watcher to bypass YouTube's internal event blocking.📸 New: High-Res Screenshot Tool: A new camera icon in the player bar allows you to capture the current video frame as a high-quality PNG. Files are automatically named after the video title for easy organization.🔊 New: Global Shorts Volume Control: Added a dedicated volume slider specifically for YouTube Shorts. Your volume preferences are now persistent across all Shorts, solving the "sudden loud audio" issue.⚙️ Enhanced Settings Interface: The Script Settings menu (Gear icon) has been redesigned for better accessibility. It now features an Auto-Replace Logic for hotkey binding—simply press a key to set your new PiP shortcut.🛡️ Advanced Ad-Evasion & Stealth:* Trusted Types Bypass: Implemented a security policy bypass to ensure the script remains functional even with YouTube's strictest "Trusted Types" headers.* Yoodle-Stripping: The engine now automatically detects and removes seasonal "Yoodles" (promotional logos) to ensure your custom Premium Logo is always visible.🤖 Smart-Check Engine v2: The repair engine is now more precise. It doesn't just check if elements exist, but also verifies their visibility (computedStyle). If YouTube tries to "hide" your buttons, the engine forces them back to display: flex !important.✅ Auto-Confirm Logic: Integrated an automatic confirmation for the "Video paused. Continue watching?" dialog, ensuring uninterrupted playback during long sessions or playlists.
Version 2.3🚀 New: Self-Check & Repair Engine: The script now actively monitors the YouTube UI. If YouTube attempts to remove or overwrite the custom buttons (Speed/Settings) during navigation, the engine automatically re-injects them within milliseconds.⚡ Performance Refinement: Switched UI rendering to requestIdleCallback. This ensures the script only executes heavy tasks when the browser is idle, eliminating micro-stutters and input lag.🔧 Enhanced Settings Persistence: Your custom PiP hotkey is now reliably stored in localStorage, ensuring your preferences remain active even after clearing your browser cache.🛡️ Debounced Ad-Observer: Re-engineered the MutationObserver to use a "debounced" mode, significantly reducing CPU overhead while maintaining 100% efficiency in removing ad-slots.
Version 2.2.4🚀 Performance Optimization: Performes/Input-Lag Fixes
Version 2.2.3🚀 Performance Optimization: Performes Fixes
Version 2.2.2🚀 Performance Optimization: Bug/Performes Fixes
Version 2.2.1🚀 Performance Optimization: Bug Fixes
Version 2.2⚙️ Dynamic Settings Engine: Added a custom settings gear icon to the YouTube interface. You can now easily change your Picture-in-Picture (PiP) hotkey through a dedicated slide-out menu.🛡️ Enhanced Ad-Block Logic: Updated bypass scripts to counter YouTube’s latest "Anti-Adblock" enforcement messages. Includes a Trusted Types policy to prevent script interruptions.🚀 Performance Optimization: Refined background intervals to ensure the "Premium" logo and UI elements load faster while consuming less CPU during long playback sessions.
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.
Changelog V1.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).