Greasy Fork

来自缓存

Greasy Fork is available in English.

YouTube™ Ultimate Downloader v12.8 👑🌍 — Desktop & Mobile | Shorts, Videos & Music - SponsorBlock 🛡️🚫

Adds a floating button to download YouTube videos, Shorts and music in high quality, with built-in SponsorBlock and the ability to bypass YouTube’s detection pop-up for a fast and smooth experience.

这些是此脚本变更过代码的版本。 显示所有版本。

  • v12.8 RTM 2026-04-29

    ⚙️ Improvements

    • Changed branding from “AdBlock” to “SponsorBlock” in the script name and descriptions
    • Updated “Download 2” link
    • No changes to the main blocking or functionality logic

  • v12.7 RTM 2026-04-08

    ➕ New Features
    • ✨ Added support for an extra parameter in download links: Allows appending custom arguments (e.g., format, quality, etc.)

    ⚙️ Improvements
    • 🧠 More flexible download structure for future enhancements

    🐛 Fixes
    • 🛠️ Fixed potential issues with Download 4 (due to outdated domain)

  • v12.6 RTM 2026-04-08

    · 🔗 New download links available! 🆕🚀
    OOPS: I tested the download links and they are working. ✅

    The URL 'ssyoutube.is','yt1s.media','a2zconverter.com' has been removed because it is no longer working. ⚠️

  • v12.5 RTM 2026-04-01

    🚀 What's New

    • Bypass of YouTube’s anti-adblock 🚫
    • Removal of blocking pop-ups 🛡️
    • Better compatibility with recent changes ✅

    The URL 'y2mate.bet' has been removed because it is no longer working. ⚠️

  • v12.4 RTM 2026-03-13

    🚀 What's New / Improvements

    🎯 Ad Detection & Skipping:
    • Improved ad detection logic in the YouTube player
    • Added detection for short overlay ads without a skip button
    • Optimized ad skipping mechanism for faster response
    • Reduced number of CSS ad selectors for better performance

    ⚡ Performance & Compatibility:
    • Removed player boot delay system for quicker initialization
    • Optimization improvements for main player, official YouTube player, real video player, and fallback
    • Simplified MutationObserver logic for improved efficiency
    • Enhanced compatibility with the latest YouTube layout updates
    • Minor internal optimizations and code cleanup

    🛠 Interface & Features:
    • Search bar has been fixed
    • Mute/skip function removed due to conflicts

  • v12.3 RTM 2026-03-11

    🚀 Improvements
    • Improved ad detection and automatic skip system using the real player state (ad-showing).
    • Added a 1.5s player boot delay to prevent conflicts during video initialization.
    🆕 • Optimized logic for muting and restoring audio automatically during ads.
    • Better compatibility with recent YouTube player changes.

    🛡️ AdBlock Enhancements
    • Significantly expanded ad-blocking selector list.
    • Added blocking for:
    •• homepage feed ads
    •• sidebar ads
    •• promotional banners
    •• YouTube promotional elements
    •• additional ad containers
    • Introduced generic selectors to catch new ad formats:
    •• [class*="ad-"]
    •• [id*="ad-"]
    •• [data-ad-*]

    ⚙️ Stability Fixes
    • Fixed an issue where the script could attempt to skip ads before the player finished loading.
    • Improved behavior during initial player boot.
    • Minor fixes related to the MutationObserver handling.

    🌐 Compatibility
    • Added official compatibility with Brave browser.
    • Improved compatibility with:
    •• Desktop
    •• Mobile
    •• YouTube Shorts
    •• YouTube Music

    🧹 Code Improvements
    • Refactored the skipAd() function.
    • Improved internal code organization.
    • Minor performance optimizations.

  • v12.2 RTM 2026-03-06

    · Corrected the external link: “Download 6” 🔗📥

  • v12.1 RTM 2026-03-05

    · 🔗 New download links available! 🆕🚀
    The URL 'ytmp4.biz' has been removed because it is no longer working. ⚠️

  • v12.0 RTM 2026-03-03

    🔥 Major Improvements:

    🧠 AdBlock Engine Refactor
    • Reworked and optimized ad selector system
    • Improved support for Shorts ads, feed ads, and engagement panel ads
    • Removed redundant and outdated selectors
    • Cleaner and more future-proof structure

    ⚡ Performance Optimization
    • Replaced basic setInterval URL watcher with smarter monitoring
    • Added visibilitychange support
    • Dynamic interval adjustment (800ms / 3000ms)
    • Implemented requestAnimationFrame batching
    • Prevented duplicate updates using scheduling flag
    • Reduced CPU usage in background tabs

    🌍 Download System Redesigned
    • Support for 2 URLs
    • Option with encodeURIComponent (for full links)
    • Structure ready to easily add more servers
    • Now includes a selection menu

    🎯 Improved Video ID Detection
    • More robust RegExp for:
    •• watch?v=
    •• /shorts/
    •• youtu.be
    • Added safe error handling
    • Reduced false positives

    📱 Better Touch Support
    • Safe detection of Touch / TouchEvent
    • Automatic fallback to .click() if unsupported
    • Improved cross-browser stability

    🖥 UI & Fullscreen Enhancements
    • Improved floating button visibility in fullscreen
    • Smart auto-hide after inactivity
    • Dynamic left/right menu positioning
    • Improved drag handling for desktop and mobile

    🧹 Code Quality Improvements
    • Refactored structure
    • Cleaner logic separation
    • Removed redundancies
    • Improved maintainability

    📌 Summary: Version 12.0 is a structural upgrade focused on:

    🛡️ Stronger AdBlock system
    🚀 Better performance
    ✅ Multiple URLs
    🔧 Improved compatibility
    🧩 Cleaner and more maintainable codebase

  • v11.9 RTM 2026-02-27

    • 🛠 An earlier version of 11.7 will be used temporarily. I will proceed with the analysis, incorporating any necessary corrections to ensure performance improvements. Afterwards, a new update will be released, including the adjustments made.

  • v11.8 RTM 2026-02-26

    🚀 Improvements

    • 🔐 Page-targeted execution
    • The script now runs only on:
    •• /watch
    •• /shorts
    •• music.youtube.com
    ➜ Improved performance and reduced CPU usage.

    🎯 Anti-Ad system restructured
    • Observer now monitors only #movie_player
    • Uses requestAnimationFrame() to prevent redundant executions
    ➜ Lighter and more efficient.

    ⚡ Improved ad skipping logic
    • Now checks for .ad-showing before executing
    ➜ Avoids unnecessary operations.

    🔄 Modernized SPA navigation handling
    • Removed setInterval
    • Added support for:
    •• yt-navigate-finish
    •• popstate
    •• history.pushState interception
    ➜ Better compatibility with YouTube’s internal navigation system.

    📱 Improved fullscreen behavior
    • Auto-hide button only on desktop (>768px)
    • Better mobile experience.

    🧠 Optimized

  • v11.7 RTM 2026-02-24

    🎨 Modification – GM_addStyle
    • 💨 Performance – Smaller CSS for faster injection
    • ✅ All functions, observers, and behavior fully preserved

  • v11.6 RTM 2026-02-24

    🔧 Internal Changes (Refactor)
    • 🔄 Renamed const servers to const MultiURL
    • 🔄 Updated servers.forEach(server => { to MultiURL.forEach(link => {
    • 🔄 Renamed internal variable server to link
    • ✅ No logic changes
    • ✅ No functional changes
    • ✅ No visual changes
    • ✅ 100% compatibility maintained

  • v11.5 RTM 2026-02-24

    • Fixed URL link on Server 1 🌐🛠️

  • v11.4 RTM 2026-02-24

    ✨ New server selection menu
    • The button now opens a menu with 2 server options
    •Fallback system in case one server goes offline

    🧭 Smart menu positioning
    • Automatically detects screen position
    • Opens to the left or right accordingly
    • Closes when clicking outside

    📱 Improved fullscreen behavior
    • Auto-hide after 3 seconds in fullscreen
    • Reappears when moving the mouse or touching the screen

    🎨 More modern interface
    • Reorganized structure (wrapper + button + menu)
    • Smoother transitions
    • More professional look

    🧠 More modular code
    • Prepared for easy addition of new servers

    🛡 AdBlock unchanged
    • Same robust ad-blocking and automatic ad-skip system on YouTube

  • v11.3 RTM 2026-01-23

    · 🚫 Expanded blocking: Shorts, overlays, banners, Music/Premium promotions, and persistent ads.
    · 🎯 Uses modern CSS (:has()) to remove ads more accurately.
    · 🔘 Floating button and ad removal work even when the URL changes (Single Page App).

  • v11.2 RTM 2026-01-22

    ✅ New Features / Improvements:
    • 🚫 Blocked more types of ads in player, Shorts, YouTube Music & home.
    • 🟢 Floating download button now more stable.
    • ⏩ Improved ad skip & fixed Premium / Shorts overlays.
    • 🛠 Better overall performance & smoother experience.
    • 🔗 Link error fixed.

  • v11.1 RTM 2026-01-22

    🟢 Removed
    • The “Download” button inside the YouTube player (playerBtnID) has been removed.
    • All related functions, including:
    addPlayerButton()
    getBypassURL() usage for the player button
    Calls to addPlayerButton() in update()
    • References to lastVideoId for tracking player button state.

    🔹 Updated
    • The floating button (ytPunisherBtn) code simplified slightly:
    open() now directly concatenates the URL instead of calling getBypassURL(vid).
    • update() function now only manages the floating button.

    ✅ Unchanged
    • Ad-blocking logic (cssSelectorArr, generateRemoveADHTMLElement, removePlayerAD) remains the same.
    • Skip ads functionality and auto-play after ads.
    • Floating button CSS and behavior, including drag-and-drop and auto-hide.
    • Supported browsers, matches, grants, and metadata remain unchanged except version/date.

  • v11.0 RTM 2026-01-15

    Less visual clutter
    Consistent indentation
    Logical grouping of functions
    Compact CSS
    Clear event flows

  • v11.0 RTM 2026-01-15

    ✅ New Features & Improvements
    Updated to v11.0 RTM with performance and stability enhancements.
    Expanded ad-blocking coverage to remove more types of ads, including:
    Shorts ads
    Promotions and overlays
    Sparkles ads
    Endscreen and side-panel ads
    Code reorganized and optimized while keeping the floating button and player button fully functional.
    Interface and naming slightly updated for clarity (PC & Mobile instead of PC & Celular).

    🐞 Fixes
    Adjusted ad-blocking behavior to reduce interference with videos.
    Removed duplicated CSS and redundant functions.

    🔧 Notes
    Download behavior and bypass URLs remain unchanged.
    Experience continues to be ad-free and compatible with both desktop and mobile.

  • v10.9 2026-01-15

    Script name change

  • v10.8 2026-01-14

    ✅ All original features preserved: AdBlock, ad removal, floating button, and download functionality work exactly as before.
    🔧 Removed &bypassAge=1 parameter from download links for cleaner code and better compatibility with future YouTube updates.
    🚀 Improved stability on YouTube’s SPA (Single Page Application) pages using a MutationObserver to detect DOM changes.
    🎨 Minor CSS and variable adjustments for easier future maintenance.
    🌐 Added future-proof support for YouTube and YouTube Music layout changes:
    Download button now automatically searches multiple possible containers.
    Compatible with new menus, action groups, and mobile layouts.

  • v10.7 2026-01-13

    🛡️ New: AdBlocker Features
    Automatic ad blocking:
    Top banners (#masthead-ad)
    Video ads (.video-ads.ytp-ad-module)
    Sidebar and suggestions (ytd-ad-slot-renderer)
    YouTube Premium popups
    Skip video ads automatically:
    Clicks the “Skip Ad” button when available
    Advances the video to the end of the ad
    Ensures uninterrupted playback
    Remove overlays and popups that block the screen
    Works dynamically using MutationObserver:
    Detects ads appearing after page load
    Keeps the viewing experience clean for videos and shorts

    🔓 New: Age Restriction Bypass
    Automatically bypasses YouTube age-restricted videos
    No login or age confirmation required
    Uses youtube-nocookie embed fallback
    Works alongside AdBlocker and Downloader

    📝 Improvements & Adjustments
    Simplified metadata (removed multi-language descriptions)
    Buttons and design remain unchanged for consistency
    More stable and safe across different YouTube domains

  • v10.6 2026-01-13

    ✅ New Features
    ✨ Smart auto-hide floating button
    The floating download button now automatically hides after a few seconds of inactivity on desktop devices.
    The button reappears instantly when mouse movement, clicks, or keyboard input are detected.

    🖱️ Improved desktop interaction
    The floating button no longer obstructs the interface when idle, providing a cleaner viewing experience.

    🛠️ Improvements
    🌐 Updated conversion endpoint
    Conversion service URL updated to wefightyourtickets.ca for improved availability and stability (previously evdfrance.fr).

    🎯 Refined drag & drop behavior
    Cursor state is now properly restored from “grabbing” to “grab” after releasing the floating button.

    🎨 Enhanced visual polish
    Added smooth opacity transitions when showing and hiding the floating button.

    🐞 Fixes
    No regressions introduced.
    Mobile touch support remains unchanged and fully compatible.

    📌 Technical Notes
    Video ID detection continues to support standard videos, Shorts, and YouTube Music.
    Dynamic page navigation handling remains stable without requiring page reloads.
    The main Download button is still injected contextually into the YouTube and YouTube Music UI.

  • v10.5 2026-01-07

    Migration of image hosting infrastructure; icon improvements.

  • v10.4 2026-01-07

    Link error fixed; download button image updated.

  • v10.3 2026-01-06
  • v10.2 2026-01-06

    ✨ Added
    Full support for YouTube Music (music.youtube.com).
    Draggable floating download button for quick access at any time.
    Support for YouTube Shorts.
    Automatic detection of URL changes without page reload.
    Continuous DOM observation for higher resistance to YouTube layout changes.
    Floating button with screen boundary limits.
    Touch and mobile support.
    Cleaner, modern, and minimal UI.
    More modular and readable code using use strict, async/await, and arrow functions.

    🔧 Improved
    More robust video ID extraction.
    Correct button placement for both YouTube and YouTube Music.
    Dynamic update of download links.
    Improved stability in SPA navigation (Single Page Application).
    Better overall performance and maintainability.
    Increased resistance to frequent YouTube interface updates.

    🛠 Fixed
    Button not reappearing after internal navigatin.
    Broken download links when switching videos.
    Issues caused by outdated DOM selectors.
    Limitations of the old video ID regex.

  • v10.1 2026-01-04

    Unnecessary Check Removal: Empty block removed.

    Added Transitions: Added a smooth transition for the button and CSS to improve the user experience.

    Use of MutationObserver: The code now uses MutationObserver to detect changes in the DOM more efficiently.

    Improved URL Checking: The extractYT function has been improved to handle more YouTube URL formats.

    Instant Button Link Update: The button link is updated immediately after the button is added.

  • v10.0 2025-11-17

    New link, no ads.

  • v9.2 2024-11-16

    New link, no ads.

  • v9.1 2024-09-04

    Fixed URL and button color change equal to subscriber's YT.

  • v9.0.x 2024-09-04
  • v9.0 2024-09-04

    Link returned back: tubemp3.to

  • v8.9 2024-09-04

    Fixed script button.

  • v8.8 (Relaunched) 2024-08-29

    New link, no ads and new lines of script code.

  • v8.7 (Relaunched) 2024-08-28

    Fixed - Remove line.

  • v8.6 (Relaunched) 2023-10-16

    Fixed link.

  • v8.5 (Relaunched) 2023-10-15

    Fix: You no longer need to go to YouTube to re-upload [F5] a video for the first time and some fixes on the download button.

  • v8.4 (Relaunched) 2023-10-14

    New link, no ads.

  • v8.3 (Relaunched) 2023-09-28
  • v8.2 (Relaunched) 2023-09-27

    Remove "@antifeature referral-link" for script.

  • v8.1 (Relaunched) 2023-09-27

    New layout for YouTube.

  • vFinal 2022-05-21
  • vFinal 2022-05-21
  • vFinal 2022-05-18
  • v7.7 2022-02-27
  • v7.6 2021-10-24
  • v7.5 2021-08-22
  • v7.4 2021-08-21
  • v7.3 2021-08-21
  • v7.2 2021-08-18
  • v7.1 2021-08-16
  • v7.0 2021-08-10

    Fixed the link.

  • v6.9 2021-02-14 New link, no ads.
  • v6.8 2021-02-07
  • v6.7 2021-01-28 Edge compatibility.
  • v6.6 2021-01-28
  • v6.5 2021-01-27
  • v6.4 2021-01-25
  • v6.3 2021-01-15 New link.
  • v6.2 2020-12-25 New link, no ads.
  • v6.1 2020-12-22
  • v6.0 2020-07-27
  • v5.9 2020-07-16 New link, no ads.
  • v5.8 2020-06-10
  • v5.8 2020-06-09 New link.
  • v5.7 2020-05-21 New languages.
  • v5.6 2020-05-07
  • v5.6 2020-05-07
  • v5.5 2020-05-03
  • v5.4 2020-02-19 New link, no ads.
  • v5.3 2020-01-05
  • v5.2 2019-11-09
  • v5.1 2019-10-19
  • v5.0 2019-09-29 Now the script is compatible with "YouTube MP3 Downloader".
  • v4.9 2019-08-04 New link: Converter.TUBE (Other video and audio format options)
  • v4.8 2019-07-29 New fixed link: Simpleyoutubeconverter.com
  • v4.7 2019-07-27 New link: Vidconverter.co
  • v4.6 2019-06-25
  • v4.5 2019-06-16
  • v4.4 2019-02-06 Fix: Regarding the "Join" button on YouTube, you'll find the "Subscribe" button and the "Download" button on the side.
  • v4.3 2019-01-30 Monthly Update
  • v4.2 2019-01-07 Added a new icon and fixes.
  • v4.1 2018-12-30 Monthly Update
  • v4.0 2018-11-30 Monthly Update
  • v3.9 2018-10-31 Monthly Update
  • v3.8.1 2018-09-29 Link fixed.
  • v3.8 2018-09-27 Fixed
  • v3.7.1 2018-09-27
  • v3.7 2018-09-27 Fixed
  • v3.6 2018-09-21
  • v3.5 2018-09-16
  • v3.4 2018-09-12
  • v3.3 2018-09-10
  • v3.2 2018-08-28
  • v3.1 2018-08-19
  • v3.0 2018-07-01
  • v2.9 2018-06-24
  • v2.8 2018-06-22
  • v2.7 2018-06-12 Adding the old YouTube layout - Do not like the new YouTube? Don't worry, we'll make the old one available to you!
  • v2.6 2018-06-07
  • v2.5 2018-06-07
  • v2.4 2018-05-23
  • v2.3 2018-05-01 New YouTube material available
  • v2.2 2018-03-03
  • v2.1 2018-01-26
  • v2.0 2018-01-17
  • v1.9 2018-01-07 Support in 3 languages. In total: 28 languages.
  • v1.8 2018-01-01
  • v1.7.1 2017-12-24
  • v1.7 2017-12-24
  • v1.6 2017-12-02 Support in 4 languages. In total: 25 languages
  • v1.5 2017-11-22 Support in 3 languages. In total: 21 languages! - New debug script function.
  • v1.4 2017-11-15 Support in 5 languages. In total: 18 languages - Other fixes...
  • v1.3 2017-11-05
  • v1.2 2017-10-30
  • v1.1 2017-10-29
  • v1.0 2017-10-29