Adds a floating button to download YouTube videos, Shorts, and music in high quality, with built-in ad blocking for a fast and smooth experience.
These are versions of this script where the code was updated. Show all versions.
· 🚫 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).
✅ 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.
🟢 Removed• The “Download” button inside the YouTube player (playerBtnID) has been removed.• All related functions, including:addPlayerButton()getBypassURL() usage for the player buttonCalls 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.
Less visual clutterConsistent indentationLogical grouping of functionsCompact CSSClear event flows
✅ New Features & ImprovementsUpdated 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 adsCode 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).🐞 FixesAdjusted ad-blocking behavior to reduce interference with videos.Removed duplicated CSS and redundant functions.🔧 NotesDownload behavior and bypass URLs remain unchanged.Experience continues to be ad-free and compatible with both desktop and mobile.
Script name change
✅ 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.
🛡️ New: AdBlocker FeaturesAutomatic ad blocking:Top banners (#masthead-ad)Video ads (.video-ads.ytp-ad-module)Sidebar and suggestions (ytd-ad-slot-renderer)YouTube Premium popupsSkip video ads automatically:Clicks the “Skip Ad” button when availableAdvances the video to the end of the adEnsures uninterrupted playbackRemove overlays and popups that block the screenWorks dynamically using MutationObserver:Detects ads appearing after page loadKeeps the viewing experience clean for videos and shorts🔓 New: Age Restriction BypassAutomatically bypasses YouTube age-restricted videosNo login or age confirmation requiredUses youtube-nocookie embed fallbackWorks alongside AdBlocker and Downloader📝 Improvements & AdjustmentsSimplified metadata (removed multi-language descriptions)Buttons and design remain unchanged for consistencyMore stable and safe across different YouTube domains
✅ New Features✨ Smart auto-hide floating buttonThe 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 interactionThe floating button no longer obstructs the interface when idle, providing a cleaner viewing experience.🛠️ Improvements🌐 Updated conversion endpointConversion service URL updated to wefightyourtickets.ca for improved availability and stability (previously evdfrance.fr).🎯 Refined drag & drop behaviorCursor state is now properly restored from “grabbing” to “grab” after releasing the floating button.🎨 Enhanced visual polishAdded smooth opacity transitions when showing and hiding the floating button.🐞 FixesNo regressions introduced.Mobile touch support remains unchanged and fully compatible.📌 Technical NotesVideo 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.
Migration of image hosting infrastructure; icon improvements.
Link error fixed; download button image updated.
✨ AddedFull 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.🔧 ImprovedMore 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.🛠 FixedButton not reappearing after internal navigatin.Broken download links when switching videos.Issues caused by outdated DOM selectors.Limitations of the old video ID regex.
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.
New link, no ads.
Fixed URL and button color change equal to subscriber's YT.
Link returned back: tubemp3.to
Fixed script button.
New link, no ads and new lines of script code.
Fixed - Remove line.
Fixed link.
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.
Remove "@antifeature referral-link" for script.
New layout for YouTube.
Fixed the link.
Show all script versions