YouTube™ Multi Downloader 🚀💯 - yt1s.com (MP3, FHD, MP4, HD, SD, 3GP / NO ADS 🚫)

Compatible with YouTube MP3 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!

Verzia zo dňa 21.05.2022. Pozri najnovšiu verziu.

// ==UserScript==
// @name YouTube™ Multi Downloader 🚀💯 - yt1s.com (MP3, FHD, MP4, HD, SD, 3GP / NO ADS 🚫)
// @name:pt-BR YouTube™ Multi Downloader 🚀💯 - yt1s.com (MP3, FHD, MP4, HD, SD, 3GP / SEM ANÚNCIOS 🚫)
// @name:ar YouTube™ Multi Downloader 🚀💯 - yt1s.com (MP3, FHD, MP4, HD, SD, 3GP / NO ADS 🚫)
// @name:bg YouTube™ Multi Downloader 🚀💯 - yt1s.com (MP3, FHD, MP4, HD, SD, 3GP / NO ADS 🚫)
// @name:cs YouTube™ Multi Downloader 🚀💯 - yt1s.com (MP3, FHD, MP4, HD, SD, 3GP / NO ADS 🚫)
// @name:da YouTube™ Multi Downloader 🚀💯 - yt1s.com (MP3, FHD, MP4, HD, SD, 3GP / NO ADS 🚫)
// @name:de YouTube™ Multi Downloader 🚀💯 - yt1s.com (MP3, FHD, MP4, HD, SD, 3GP / NO ADS 🚫)
// @name:el YouTube™ Multi Downloader 🚀💯 - yt1s.com (MP3, FHD, MP4, HD, SD, 3GP / NO ADS 🚫)
// @name:eo YouTube™ Multi Downloader 🚀💯 - yt1s.com (MP3, FHD, MP4, HD, SD, 3GP / NO ADS 🚫)
// @name:es YouTube™ Multi Downloader 🚀💯 - yt1s.com (MP3, FHD, MP4, HD, SD, 3GP / NO ADS 🚫)
// @name:fi YouTube™ Multi Downloader 🚀💯 - yt1s.com (MP3, FHD, MP4, HD, SD, 3GP / NO ADS 🚫)
// @name:fr YouTube™ Multi Downloader 🚀💯 - yt1s.com (MP3, FHD, MP4, HD, SD, 3GP / NO ADS 🚫)
// @name:fr-CA YouTube™ Multi Downloader 🚀💯 - yt1s.com (MP3, FHD, MP4, HD, SD, 3GP / NO ADS 🚫)
// @name:he YouTube™ Multi Downloader 🚀💯 - yt1s.com (MP3, FHD, MP4, HD, SD, 3GP / NO ADS 🚫)
// @name:hu YouTube™ Multi Downloader 🚀💯 - yt1s.com (MP3, FHD, MP4, HD, SD, 3GP / NO ADS 🚫)
// @name:id YouTube™ Multi Downloader 🚀💯 - yt1s.com (MP3, FHD, MP4, HD, SD, 3GP / NO ADS 🚫)
// @name:it YouTube™ Multi Downloader 🚀💯 - yt1s.com (MP3, FHD, MP4, HD, SD, 3GP / NO ADS 🚫)
// @name:ja YouTube™ Multi Downloader 🚀💯 - yt1s.com (MP3, FHD, MP4, HD, SD, 3GP / NO ADS 🚫)
// @name:ko YouTube™ Multi Downloader 🚀💯 - yt1s.com (MP3, FHD, MP4, HD, SD, 3GP / NO ADS 🚫)
// @name:nb YouTube™ Multi Downloader 🚀💯 - yt1s.com (MP3, FHD, MP4, HD, SD, 3GP / NO ADS 🚫)
// @name:nl YouTube™ Multi Downloader 🚀💯 - yt1s.com (MP3, FHD, MP4, HD, SD, 3GP / NO ADS 🚫)
// @name:pl YouTube™ Multi Downloader 🚀💯 - yt1s.com (MP3, FHD, MP4, HD, SD, 3GP / NO ADS 🚫)
// @name:ro YouTube™ Multi Downloader 🚀💯 - yt1s.com (MP3, FHD, MP4, HD, SD, 3GP / NO ADS 🚫)
// @name:ru YouTube™ Multi Downloader 🚀💯 - yt1s.com (MP3, FHD, MP4, HD, SD, 3GP / NO ADS 🚫)
// @name:sk YouTube™ Multi Downloader 🚀💯 - yt1s.com (MP3, FHD, MP4, HD, SD, 3GP / NO ADS 🚫)
// @name:sr YouTube™ Multi Downloader 🚀💯 - yt1s.com (MP3, FHD, MP4, HD, SD, 3GP / NO ADS 🚫)
// @name:sv YouTube™ Multi Downloader 🚀💯 - yt1s.com (MP3, FHD, MP4, HD, SD, 3GP / NO ADS 🚫)
// @name:th YouTube™ Multi Downloader 🚀💯 - yt1s.com (MP3, FHD, MP4, HD, SD, 3GP / NO ADS 🚫)
// @name:tr YouTube™ Multi Downloader 🚀💯 - yt1s.com (MP3, FHD, MP4, HD, SD, 3GP / NO ADS 🚫)
// @name:uk YouTube™ Multi Downloader 🚀💯 - yt1s.com (MP3, FHD, MP4, HD, SD, 3GP / NO ADS 🚫)
// @name:ug YouTube™ Multi Downloader 🚀💯 - yt1s.com (MP3, FHD, MP4, HD, SD, 3GP / NO ADS 🚫)
// @name:vi YouTube™ Multi Downloader 🚀💯 - yt1s.com (MP3, FHD, MP4, HD, SD, 3GP / NO ADS 🚫)
// @name:zh-CN YouTube™ Multi Downloader 🚀💯 - yt1s.com (MP3, FHD, MP4, HD, SD, 3GP / NO ADS 🚫)
// @name:zh-TW YouTube™ Multi Downloader 🚀💯 - yt1s.com (MP3, FHD, MP4, HD, SD, 3GP / NO ADS 🚫)
// @description Compatible with YouTube MP3 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 MP3 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 MP3 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 MP3 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 MP3 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 MP3 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 MP3 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 MP3 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 MP3 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 MP3 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 MP3 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 MP3 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 MP3 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 MP3 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 MP3 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 MP3 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 MP3 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 MP3 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 MP3 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 MP3 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 MP3 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 MP3 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 MP3 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 MP3 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 MP3 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 MP3 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 MP3 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 MP3 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 MP3 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 MP3 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 MP3 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 MP3 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 MP3 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 MP3 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://gf.zukizuki.org/users/152924
// @homepageURL https://gf.zukizuki.org/scripts/34613
// @supportURL https://gf.zukizuki.org/scripts/34613/feedback
// @author Punisher
// @version Final
// @date 2022-05-21
// @icon https://i.imgur.com/InuDDVK.png
// @compatible chrome
// @compatible firefox
// @compatible opera
// @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("punisher") === 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 = "punisher";
    buttonDiv.style.width = "100%";
    buttonDiv.style.marginTop = "3px";
    buttonDiv.style.padding = "10px 0";
    var addButton = document.createElement("a");
    addButton.appendChild(document.createTextNode("DOWNLOAD"));
    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 = "//yt1s.com/en/youtube-to-mp3?q=" + encodeURIComponent(location.href);
    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");
    }
}
})();