// ==UserScript== // @name YouTube Multi Downloader v4.7 - NEW LINK: Vidconverter.co (MP3, FHD, MP4, WebM) // @description No ads, this script helps to add a download button. Vidconverter.co features the fastest ways to download YouTube videos and audios, ensuring quality. // @namespace https://greasyfork.org/users/152924 // @homepageURL https://greasyfork.org/scripts/34613 // @supportURL https://greasyfork.org/scripts/34613/feedback // @author Punisher // @version 4.7 // @date 2019-07-27 // @icon https://vidconverter.co/assets/img/favicon.png // @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/ // @match *://*.youtube.com/* // @downloadURL none // ==/UserScript== (function() { if (document.getElementById("polymer-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) { Addytpolymer(); } }, 100); 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; }; } else { setInterval(function() { if (window.location.href.indexOf("watch?v=") < 0) { return false; } if (document.getElementById("watch8-sentiment-actions") && document.getElementById("punisher") === null) { AddhtmlDV(); } }, 100); 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 AddhtmlDV() { if (document.getElementById("watch8-sentiment-actions")) { var wrap = document.getElementById('watch8-sentiment-actions'); var button = "