YouTube™ MP3 Downloader 🚀💯 - YTMP3x.com (NO ADS 🚫)

Compatible with YouTube Multi Downloader! This script adds a download button, a faster way to download audio from YouTube and with guaranteed quality. This site is very simple, fast and effective to download! Best of all!

Install this script?
Author's suggested script

You may also like Simple Resolution for YouTube™.

Install this script
// ==UserScript==
// @name YouTube™ MP3 Downloader 🚀💯 - YTMP3x.com (NO ADS 🚫)
// @name:pt-BR YouTube™ MP3 Downloader 🚀💯 - YTMP3x.com (SEM ANÚNCIOS 🚫)
// @name:ar YouTube™ MP3 Downloader 🚀💯 - YTMP3x.com (NO ADS 🚫)
// @name:bg YouTube™ MP3 Downloader 🚀💯 - YTMP3x.com (NO ADS 🚫)
// @name:cs YouTube™ MP3 Downloader 🚀💯 - YTMP3x.com (NO ADS 🚫)
// @name:da YouTube™ MP3 Downloader 🚀💯 - YTMP3x.com (NO ADS 🚫)
// @name:de YouTube™ MP3 Downloader 🚀💯 - YTMP3x.com (NO ADS 🚫)
// @name:el YouTube™ MP3 Downloader 🚀💯 - YTMP3x.com (NO ADS 🚫)
// @name:eo YouTube™ MP3 Downloader 🚀💯 - YTMP3x.com (NO ADS 🚫)
// @name:es YouTube™ MP3 Downloader 🚀💯 - YTMP3x.com (NO ADS 🚫)
// @name:fi YouTube™ MP3 Downloader 🚀💯 - YTMP3x.com (NO ADS 🚫)
// @name:fr YouTube™ MP3 Downloader 🚀💯 - YTMP3x.com (NO ADS 🚫)
// @name:fr-CA YouTube™ MP3 Downloader 🚀💯 - YTMP3x.com (NO ADS 🚫)
// @name:he YouTube™ MP3 Downloader 🚀💯 - YTMP3x.com (NO ADS 🚫)
// @name:hu YouTube™ MP3 Downloader 🚀💯 - YTMP3x.com (NO ADS 🚫)
// @name:id YouTube™ MP3 Downloader 🚀💯 - YTMP3x.com (NO ADS 🚫)
// @name:it YouTube™ MP3 Downloader 🚀💯 - YTMP3x.com (NO ADS 🚫)
// @name:ja YouTube™ MP3 Downloader 🚀💯 - YTMP3x.com (NO ADS 🚫)
// @name:ko YouTube™ MP3 Downloader 🚀💯 - YTMP3x.com (NO ADS 🚫)
// @name:nb YouTube™ MP3 Downloader 🚀💯 - YTMP3x.com (NO ADS 🚫)
// @name:nl YouTube™ MP3 Downloader 🚀💯 - YTMP3x.com (NO ADS 🚫)
// @name:pl YouTube™ MP3 Downloader 🚀💯 - YTMP3x.com (NO ADS 🚫)
// @name:ro YouTube™ MP3 Downloader 🚀💯 - YTMP3x.com (NO ADS 🚫)
// @name:ru YouTube™ MP3 Downloader 🚀💯 - YTMP3x.com (NO ADS 🚫)
// @name:sk YouTube™ MP3 Downloader 🚀💯 - YTMP3x.com (NO ADS 🚫)
// @name:sr YouTube™ MP3 Downloader 🚀💯 - YTMP3x.com (NO ADS 🚫)
// @name:sv YouTube™ MP3 Downloader 🚀💯 - YTMP3x.com (NO ADS 🚫)
// @name:th YouTube™ MP3 Downloader 🚀💯 - YTMP3x.com (NO ADS 🚫)
// @name:tr YouTube™ MP3 Downloader 🚀💯 - YTMP3x.com (NO ADS 🚫)
// @name:uk YouTube™ MP3 Downloader 🚀💯 - YTMP3x.com (NO ADS 🚫)
// @name:ug YouTube™ MP3 Downloader 🚀💯 - YTMP3x.com (NO ADS 🚫)
// @name:vi YouTube™ MP3 Downloader 🚀💯 - YTMP3x.com (NO ADS 🚫)
// @name:zh-CN YouTube™ MP3 Downloader 🚀💯 - YTMP3x.com (NO ADS 🚫)
// @name:zh-TW YouTube™ MP3 Downloader 🚀💯 - YTMP3x.com (NO ADS 🚫)
// @description Compatible with YouTube Multi Downloader! This script adds a download button, a faster way to download audio from YouTube and with guaranteed quality. This site is very simple, fast and effective to download! Best of all!
// @description:pt-BR Compatível com YouTube Multi Downloader! Esse script adiciona um botão de download, uma maneira mais rápida de baixar áudio do YouTube e com qualidade garantida. Este site é muito simples, rápido e eficaz para baixar! Melhor de todos!
// @description:ar Compatible with YouTube Multi Downloader! This script adds a download button, a faster way to download audio from YouTube and with guaranteed quality. This site is very simple, fast and effective to download! Best of all!
// @description:bg Compatible with YouTube Multi Downloader! This script adds a download button, a faster way to download audio from YouTube and with guaranteed quality. This site is very simple, fast and effective to download! Best of all!
// @description:cs Compatible with YouTube Multi Downloader! This script adds a download button, a faster way to download audio from YouTube and with guaranteed quality. This site is very simple, fast and effective to download! Best of all!
// @description:da Compatible with YouTube Multi Downloader! This script adds a download button, a faster way to download audio from YouTube and with guaranteed quality. This site is very simple, fast and effective to download! Best of all!
// @description:de Compatible with YouTube Multi Downloader! This script adds a download button, a faster way to download audio from YouTube and with guaranteed quality. This site is very simple, fast and effective to download! Best of all!
// @description:el Compatible with YouTube Multi Downloader! This script adds a download button, a faster way to download audio from YouTube and with guaranteed quality. This site is very simple, fast and effective to download! Best of all!
// @description:eo Compatible with YouTube Multi Downloader! This script adds a download button, a faster way to download audio from YouTube and with guaranteed quality. This site is very simple, fast and effective to download! Best of all!
// @description:es Compatible with YouTube Multi Downloader! This script adds a download button, a faster way to download audio from YouTube and with guaranteed quality. This site is very simple, fast and effective to download! Best of all!
// @description:fi Compatible with YouTube Multi Downloader! This script adds a download button, a faster way to download audio from YouTube and with guaranteed quality. This site is very simple, fast and effective to download! Best of all!
// @description:fr Compatible with YouTube Multi Downloader! This script adds a download button, a faster way to download audio from YouTube and with guaranteed quality. This site is very simple, fast and effective to download! Best of all!
// @description:fr-CA Compatible with YouTube Multi Downloader! This script adds a download button, a faster way to download audio from YouTube and with guaranteed quality. This site is very simple, fast and effective to download! Best of all!
// @description:he Compatible with YouTube Multi Downloader! This script adds a download button, a faster way to download audio from YouTube and with guaranteed quality. This site is very simple, fast and effective to download! Best of all!
// @description:hu Compatible with YouTube Multi Downloader! This script adds a download button, a faster way to download audio from YouTube and with guaranteed quality. This site is very simple, fast and effective to download! Best of all!
// @description:id Compatible with YouTube Multi Downloader! This script adds a download button, a faster way to download audio from YouTube and with guaranteed quality. This site is very simple, fast and effective to download! Best of all!
// @description:it Compatible with YouTube Multi Downloader! This script adds a download button, a faster way to download audio from YouTube and with guaranteed quality. This site is very simple, fast and effective to download! Best of all!
// @description:ja Compatible with YouTube Multi Downloader! This script adds a download button, a faster way to download audio from YouTube and with guaranteed quality. This site is very simple, fast and effective to download! Best of all!
// @description:ko Compatible with YouTube Multi Downloader! This script adds a download button, a faster way to download audio from YouTube and with guaranteed quality. This site is very simple, fast and effective to download! Best of all!
// @description:nb Compatible with YouTube Multi Downloader! This script adds a download button, a faster way to download audio from YouTube and with guaranteed quality. This site is very simple, fast and effective to download! Best of all!
// @description:nl Compatible with YouTube Multi Downloader! This script adds a download button, a faster way to download audio from YouTube and with guaranteed quality. This site is very simple, fast and effective to download! Best of all!
// @description:pl Compatible with YouTube Multi Downloader! This script adds a download button, a faster way to download audio from YouTube and with guaranteed quality. This site is very simple, fast and effective to download! Best of all!
// @description:ro Compatible with YouTube Multi Downloader! This script adds a download button, a faster way to download audio from YouTube and with guaranteed quality. This site is very simple, fast and effective to download! Best of all!
// @description:ru Compatible with YouTube Multi Downloader! This script adds a download button, a faster way to download audio from YouTube and with guaranteed quality. This site is very simple, fast and effective to download! Best of all!
// @description:sk Compatible with YouTube Multi Downloader! This script adds a download button, a faster way to download audio from YouTube and with guaranteed quality. This site is very simple, fast and effective to download! Best of all!
// @description:sr Compatible with YouTube Multi Downloader! This script adds a download button, a faster way to download audio from YouTube and with guaranteed quality. This site is very simple, fast and effective to download! Best of all!
// @description:sv Compatible with YouTube Multi Downloader! This script adds a download button, a faster way to download audio from YouTube and with guaranteed quality. This site is very simple, fast and effective to download! Best of all!
// @description:th Compatible with YouTube Multi Downloader! This script adds a download button, a faster way to download audio from YouTube and with guaranteed quality. This site is very simple, fast and effective to download! Best of all!
// @description:tr Compatible with YouTube Multi Downloader! This script adds a download button, a faster way to download audio from YouTube and with guaranteed quality. This site is very simple, fast and effective to download! Best of all!
// @description:uk Compatible with YouTube Multi Downloader! This script adds a download button, a faster way to download audio from YouTube and with guaranteed quality. This site is very simple, fast and effective to download! Best of all!
// @description:ug Compatible with YouTube Multi Downloader! This script adds a download button, a faster way to download audio from YouTube and with guaranteed quality. This site is very simple, fast and effective to download! Best of all!
// @description:vi Compatible with YouTube Multi Downloader! This script adds a download button, a faster way to download audio from YouTube and with guaranteed quality. This site is very simple, fast and effective to download! Best of all!
// @description:zh-CN Compatible with YouTube Multi Downloader! This script adds a download button, a faster way to download audio from YouTube and with guaranteed quality. This site is very simple, fast and effective to download! Best of all!
// @description:zh-TW Compatible with YouTube Multi Downloader! This script adds a download button, a faster way to download audio from YouTube and with guaranteed quality. This site is very simple, fast and effective to download! Best of all!
// @namespace https://greasyfork.org/users/152924
// @homepageURL https://greasyfork.org/scripts/376246
// @supportURL https://greasyfork.org/scripts/376246/feedback
// @author Punisher
// @version Final
// @date 2022-05-21
// @icon https://i.imgur.com/xLl6DWY.png
// @compatible chrome
// @compatible firefox
// @compatible opera
// @compatible safari
// @compatible edge
// @antifeature referral-link
// @license CC-BY-NC-ND-4.0
// @match *://*.youtube.com/*
// ==/UserScript==

(function() {
    if (document.getElementById("browser-app") || document.getElementById("masthead") || window.Polymer) {
    setInterval(function() {
        if (window.location.href.indexOf("watch?v=") < 0) {
            return false;
        }
        if (document.getElementById("meta-contents") && document.getElementById("punisherx") === null) {
            AddYT();
        }
    }, 1);

    setElement = function(url) {
       var regExp = /^.*((youtu.be\/)|(v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))\??v?=?([^#\&\?]*).*/;
       var match = String(url).match(regExp);
       return (match&&match[7].length==11)? match[7]: false;
    };
}

function AddYT() {
    var buttonDiv = document.createElement("span");
    buttonDiv.id = "punisherx";
    buttonDiv.style.width = "100%";
    buttonDiv.style.marginTop = "3px";
    buttonDiv.style.padding = "10px 0";
    var addButton = document.createElement("a");
    addButton.appendChild(document.createTextNode("DOWNLOAD MP3"));
    addButton.style.width = "100%";
    addButton.style.cursor = "pointer";
    addButton.style.height = "inherit";
    addButton.style.backgroundColor = "#393939";
    addButton.style.color = "#ffffff";
    addButton.style.padding = "10px 22px";
    addButton.style.margin = "0px 0px";
    addButton.style.border = "0";
    addButton.style.borderRadius = "2px";
    addButton.style.fontSize = "1.4rem";
    addButton.style.fontFamily = "inherit";
    addButton.style.textAlign = "center";
    addButton.style.textDecoration = "none";
    addButton.href = "//ytmp3x.com/" + encodeURIComponent(setElement(window.location));
    addButton.target = "_blank";
    buttonDiv.appendChild(addButton);
    var targetElement = document.querySelectorAll("[id='subscribe-button']");
    if(targetElement){
      for(var i = 0; i < targetElement.length; i++){
        if(targetElement[i].className.indexOf("ytd-video-secondary-info-renderer") > -1){
            targetElement[i].appendChild(buttonDiv);
        }
      }
    }
    var descriptionBox = document.querySelectorAll("ytd-video-secondary-info-renderer");
    if(descriptionBox[0].className.indexOf("loading") > -1){
        descriptionBox[0].classList.remove("loading");
    }
}
})();