在您安装前,Greasy Fork镜像 希望您知道此脚本包含可能不受欢迎的功能,也许会帮助脚本作者获利,而不能给你带来任何收益。
作者从这份脚本获得佣金,例如透过改写链接或提供优惠券代码以包含推荐或附属代码。
此脚本是YouTube的下载按钮,广告无法正常运行
目前为
// ==UserScript== // @name THE BEST SCRIPT Youtube Downloader (MP3-MP4-HD-FullHD) ❌NO ADS // @name:da THE BEST SCRIPT Youtube Downloader (MP3-MP4-HD-FullHD) ❌NO ADS // @name:fr THE BEST SCRIPT Youtube Downloader (MP3-MP4-HD-FullHD) ❌NO ADS // @name:ru THE BEST SCRIPT Youtube Downloader (MP3-MP4-HD-FullHD) ❌NO ADS // @name:uk THE BEST SCRIPT Youtube Downloader (MP3-MP4-HD-FullHD) ❌NO ADS // @name:pt-BR THE BEST SCRIPT Youtube Downloader (MP3-MP4-HD-FullHD) ❌SEM ANÚNCIOS // @name:ja Youtube Downloader(MP3-MP4-HD-FullHD)❌広告なし // @name:zh-CN YouTube下载器(MP3-MP4-HD-FullHD)❌无广告 // @description Este es el mejor script para descargar videos y música por YOUTUBE por ser rápido , bueno y mejor que los demás. Gracias // @description:da Dette script er en downloadknap til YouTube uden annoncer, der fungerer korrekt // @description:fr Ce script est un bouton de téléchargement pour YouTube sans publicité fonctionnant correctement // @description:ru Этот скрипт представляет собой кнопку загрузки для YouTube без корректной работы рекламы // @description:uk Цей сценарій є кнопкою завантаження для YouTube без реклами, яка працює належним чином // @description:pt-BR Este script é um botão de download para o YouTube sem anúncios funcionando corretamente // @description:ja このスクリプトは、広告が正しく機能しないYouTubeのダウンロードボタンです。 // @description:zh-CN 此脚本是YouTube的下载按钮,广告无法正常运行 // @namespace https://ysenmanuel.github.io/Web/ // @version 2.0 // @date 2021-02-12 // @author ysEnmanuel // @homepage https://y2mate.com/ // @icon https://cdn0.iconfinder.com/data/icons/universal-3-4/21/130-512.png // @icon64 https://cdn0.iconfinder.com/data/icons/universal-3-4/21/130-512.png // @include https://www.youtube.com/* // @include https://www.youtube.com/* // @run-at document-end // @grant GM_listValues // @grant GM_setValue // @grant GM_getValue // @grant GM_deleteValue // @grant GM_xmlhttpRequest // @grant GM_info // @grant GM_openInTab // @grant GM_setClipboard // @grant GM_registerMenuCommand // @grant GM_unregisterMenuCommand // @grant GM_notification // @grant GM_download // @grant GM.info // @grant GM.listValues // @grant GM.setValue // @grant GM.getValue // @grant GM.deleteValue // @grant GM.openInTab // @grant GM.setClipboard // @grant GM.xmlHttpRequest // @connect youtube.com // @connect m.youtube.com // @connect www.youtube.com // @connect youtube-nocookie.com // @connect youtu.be // @connect y2mate.com // @connect self // @connect * // @compatible chrome // @compatible firefox // @compatible opera // @compatible safari // @license CC BY-NC-ND 4.0 International. https://creativecommons.org/licenses/by-nc-nd/4.0/ // @antifeature referral-link // @match *://*.youtube.com/* // ==/UserScript== var AKoiMain = { oXHttpReq: null, vid: null, oldUrl: null, DocOnLoad: function(o) { try { if (null != o && null != o.body && null != o.location && (AKoiMain.vid = AKoiMain.getVid(o), AKoiMain.vid)) { o.querySelector("#info-contents #info").setAttribute("style", "flex-wrap: wrap;"); var t = o.querySelector("#menu-container"), e = o.querySelector("#y2mateconverter"), n = AKoiMain.GetCommandButton(); null == e && (null != t ? t.parentNode.insertBefore(n, t) : (t = o.querySelector("#eow-title")).parentNode.insertBefore(n, t)), AKoiMain.oldUrl = o.location.href, AKoiMain.checkChangeVid() } return !0 } catch (o) { console.log("Ошибка в функции Y2mate.DocOnLoad. ", o) } }, checkChangeVid: function() { setTimeout(function() { AKoiMain.oldUrl == window.location.href ? AKoiMain.checkChangeVid() : AKoiMain.WaitLoadDom(window.document) }, 1e3) }, WaitLoadDom: function(o) { AKoiMain.vid = AKoiMain.getVid(o), AKoiMain.vid ? null != o.querySelector("#info #menu-container") ? AKoiMain.DocOnLoad(o) : setTimeout(function() { AKoiMain.WaitLoadDom(o) }, 1e3) : AKoiMain.checkChangeVid() }, goToY2mate: function(o) { try { var t = "https://y2mate.com/youtube/" + AKoiMain.vid + "/?utm_source=chrome_addon"; window.open(t, "_blank") } catch (o) { console.log("Ошибка в функции Y2mate.OnButtonClick. ", o) } }, GetCommandButton: function() { try { var o = document.createElement("button"); return o.id = "y2mateconverter", o.className = "yt-uix-tooltip", o.setAttribute("type", "button"), o.setAttribute("title", "Download by LiLEnma"), o.innerHTML = "Download", o.addEventListener("click", function(o) { AKoiMain.goToY2mate(o) }, !0), o.setAttribute("style", "min-height:25px; position:relative; top:1px; cursor: pointer; font: 13px Arial; background: #FC0A0A; color: #fff; text-transform: uppercase; display: block; padding: 10px 16px; margin: 20px 5px 10px 5px; border: 1px solid #FC0A0A; border-radius: 2px; font-weight:bold"), o.setAttribute("onmouseover", "this.style.backgroundColor='#FC0A0A'"), o.setAttribute("onmouseout", "this.style.backgroundColor='#FC0A0A'"), o } catch (o) { console.log("Ошибка в функции Y2mate.GetCommandButton. ", o) } }, getVid: function(o) { var t = o.location.toString().match(/^.*((m\.)?youtu\.be\/|vi?\/|u\/\w\/|embed\/|\?vi?=|\&vi?=)([^#\&\?]*).*/); return !(!t || !t[3]) && t[3] } }; AKoiMain.WaitLoadDom(window.document);
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址