YouTube™ Multi Downloader v8.2 (Relaunched) 🚀💯 - yt1s.com (NO ADS & NEW LAYOUT FOR YT! 🚫🤩)

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!

目前為 2023-09-27 提交的版本,檢視 最新版本

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

// ==UserScript==
// @name YouTube™ Multi Downloader v8.2 (Relaunched) 🚀💯 - yt1s.com (NO ADS & NEW LAYOUT FOR YT! 🚫🤩)
// @name:pt-BR YouTube™ Multi Downloader v8.2 (Relançada) 🚀💯 - yt1s.com (SEM ANÚNCIOS & NOVO LAYOUT PARA YT! 🚫🤩)
// @name:ar YouTube™ Multi Downloader v8.2 (Relaunched) 🚀💯 - yt1s.com (NO ADS & NEW LAYOUT FOR YT! 🚫🤩)
// @name:bg YouTube™ Multi Downloader v8.2 (Relaunched) 🚀💯 - yt1s.com (NO ADS & NEW LAYOUT FOR YT! 🚫🤩)
// @name:cs YouTube™ Multi Downloader v8.2 (Relaunched) 🚀💯 - yt1s.com (NO ADS & NEW LAYOUT FOR YT! 🚫🤩)
// @name:da YouTube™ Multi Downloader v8.2 (Relaunched) 🚀💯 - yt1s.com (NO ADS & NEW LAYOUT FOR YT! 🚫🤩)
// @name:de YouTube™ Multi Downloader v8.2 (Relaunched) 🚀💯 - yt1s.com (NO ADS & NEW LAYOUT FOR YT! 🚫🤩)
// @name:el YouTube™ Multi Downloader v8.2 (Relaunched) 🚀💯 - yt1s.com (NO ADS & NEW LAYOUT FOR YT! 🚫🤩)
// @name:eo YouTube™ Multi Downloader v8.2 (Relaunched) 🚀💯 - yt1s.com (NO ADS & NEW LAYOUT FOR YT! 🚫🤩)
// @name:es YouTube™ Multi Downloader v8.2 (Relaunched) 🚀💯 - yt1s.com (NO ADS & NEW LAYOUT FOR YT! 🚫🤩)
// @name:fi YouTube™ Multi Downloader v8.2 (Relaunched) 🚀💯 - yt1s.com (NO ADS & NEW LAYOUT FOR YT! 🚫🤩)
// @name:fr YouTube™ Multi Downloader v8.2 (Relaunched) 🚀💯 - yt1s.com (NO ADS & NEW LAYOUT FOR YT! 🚫🤩)
// @name:fr-CA YouTube™ Multi Downloader v8.2 (Relaunched) 🚀💯 - yt1s.com (NO ADS & NEW LAYOUT FOR YT! 🚫🤩)
// @name:he YouTube™ Multi Downloader v8.2 (Relaunched) 🚀💯 - yt1s.com (NO ADS & NEW LAYOUT FOR YT! 🚫🤩)
// @name:hu YouTube™ Multi Downloader v8.2 (Relaunched) 🚀💯 - yt1s.com (NO ADS & NEW LAYOUT FOR YT! 🚫🤩)
// @name:id YouTube™ Multi Downloader v8.2 (Relaunched) 🚀💯 - yt1s.com (NO ADS & NEW LAYOUT FOR YT! 🚫🤩)
// @name:it YouTube™ Multi Downloader v8.2 (Relaunched) 🚀💯 - yt1s.com (NO ADS & NEW LAYOUT FOR YT! 🚫🤩)
// @name:ja YouTube™ Multi Downloader v8.2 (Relaunched) 🚀💯 - yt1s.com (NO ADS & NEW LAYOUT FOR YT! 🚫🤩)
// @name:ko YouTube™ Multi Downloader v8.2 (Relaunched) 🚀💯 - yt1s.com (NO ADS & NEW LAYOUT FOR YT! 🚫🤩)
// @name:nb YouTube™ Multi Downloader v8.2 (Relaunched) 🚀💯 - yt1s.com (NO ADS & NEW LAYOUT FOR YT! 🚫🤩)
// @name:nl YouTube™ Multi Downloader v8.2 (Relaunched) 🚀💯 - yt1s.com (NO ADS & NEW LAYOUT FOR YT! 🚫🤩)
// @name:pl YouTube™ Multi Downloader v8.2 (Relaunched) 🚀💯 - yt1s.com (NO ADS & NEW LAYOUT FOR YT! 🚫🤩)
// @name:ro YouTube™ Multi Downloader v8.2 (Relaunched) 🚀💯 - yt1s.com (NO ADS & NEW LAYOUT FOR YT! 🚫🤩)
// @name:ru YouTube™ Multi Downloader v8.2 (Relaunched) 🚀💯 - yt1s.com (NO ADS & NEW LAYOUT FOR YT! 🚫🤩)
// @name:sk YouTube™ Multi Downloader v8.2 (Relaunched) 🚀💯 - yt1s.com (NO ADS & NEW LAYOUT FOR YT! 🚫🤩)
// @name:sr YouTube™ Multi Downloader v8.2 (Relaunched) 🚀💯 - yt1s.com (NO ADS & NEW LAYOUT FOR YT! 🚫🤩)
// @name:sv YouTube™ Multi Downloader v8.2 (Relaunched) 🚀💯 - yt1s.com (NO ADS & NEW LAYOUT FOR YT! 🚫🤩)
// @name:th YouTube™ Multi Downloader v8.2 (Relaunched) 🚀💯 - yt1s.com (NO ADS & NEW LAYOUT FOR YT! 🚫🤩)
// @name:tr YouTube™ Multi Downloader v8.2 (Relaunched) 🚀💯 - yt1s.com (NO ADS & NEW LAYOUT FOR YT! 🚫🤩)
// @name:uk YouTube™ Multi Downloader v8.2 (Relaunched) 🚀💯 - yt1s.com (NO ADS & NEW LAYOUT FOR YT! 🚫🤩)
// @name:ug YouTube™ Multi Downloader v8.2 (Relaunched) 🚀💯 - yt1s.com (NO ADS & NEW LAYOUT FOR YT! 🚫🤩)
// @name:vi YouTube™ Multi Downloader v8.2 (Relaunched) 🚀💯 - yt1s.com (NO ADS & NEW LAYOUT FOR YT! 🚫🤩)
// @name:zh-CN YouTube™ Multi Downloader v8.2 (Relaunched) 🚀💯 - yt1s.com (NO ADS & NEW LAYOUT FOR YT! 🚫🤩)
// @name:zh-TW YouTube™ Multi Downloader v8.2 (Relaunched) 🚀💯 - yt1s.com (NO ADS & NEW LAYOUT FOR YT! 🚫🤩)
// @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://greasyfork.org/users/152924
// @homepageURL https://greasyfork.org/scripts/34613
// @supportURL https://greasyfork.org/scripts/34613/feedback
// @author Punisher
// @version 8.2 (Relaunched)
// @date 2023-09-27
// @icon https://i.imgur.com/InuDDVK.png
// @compatible chrome
// @compatible firefox
// @compatible opera
// @compatible safari
// @compatible edge
// @license CC-BY-NC-ND-4.0
// @match *://*.youtube.com/*
// ==/UserScript==

(function() {
    function punisherxButton() {
        const menu = document.getElementById("top-level-buttons-computed");
        const existingDownloadButton = document.querySelector('.style-scope.ytd-download-button-renderer');
        if (existingDownloadButton) existingDownloadButton.remove();
        const containerDiv = document.createElement('div');
        containerDiv.className = 'tooltip-container';
        const newButton = document.createElement('button');
        newButton.style.marginLeft = "8px";
        newButton.innerHTML = `<svg height='24' viewBox='0 0 24 24' width='24' focusable='false'><path fill='red' d='M17 18v1H6v-1h11zm-.5-6.6-.7-.7-3.8 3.7V4h-1v10.4l-3.8-3.8-.7.7 5 5 5-4.9z'></path></svg>`;
        newButton.setAttribute("id", "download-button");
        const hook = document.createElement('tp-yt-paper-tooltip');
        hook.setAttribute('fit-to-visible-bounds', '');
        hook.setAttribute('offset', '8');
        hook.style = 'inset: 44px auto auto 187.258px;';
        hook.textContent = 'Download';
        hook.classList.remove('hidden');
        containerDiv.appendChild(hook);
        const currentLink = encodeURIComponent(window.location);
        const redirectURL = `//yt1s.com/en/youtube-to-mp3?q=${currentLink}`;
        newButton.addEventListener('click', () => window.open(redirectURL, '_blank'));
        newButton.className = 'yt-spec-button-shape-next yt-spec-button-shape-next--tonal yt-spec-button-shape-next--mono yt-spec-button-shape-next--size-m yt-spec-button-shape-next--icon-leading ';
        containerDiv.appendChild(newButton);
        menu.appendChild(containerDiv);
    }
    setTimeout(punisherxButton, 5000);
    setInterval(function () {
        if(document.getElementById("container")){
            if(!document.getElementById("download-button")){
                punisherxButton();
            }
        }
    }, 6000);
    setPunisherElement = 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;
    };
})();