Greasy Fork

Greasy Fork is available in English.

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 提交的版本,查看 最新版本

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

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

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 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 http://greasyfork.icu/users/152924
// @homepageURL http://greasyfork.icu/scripts/34613
// @supportURL http://greasyfork.icu/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;
    };
})();