// ==UserScript== // @name YouTube Multi Downloader v3.3 (MP3, FHD, AVI, MP4, FLV, M4V, WKV, ACC, WOV, OGG, etc) // @description This script helps to add a download button. Saveclipbro.com features the fastest ways to download YouTube videos and audios, ensuring quality. Supported Services: YouTube, Dailymotion, Vimeo, Twitter, Vine, Facebook, Instagram, Xvideos, CNN, SoundCloud, Redtube, Freesound, Pornhub, Reddit, Liveleak and more than +1000 audio and video servers! // @namespace https://greasyfork.org/ // @homepageURL https://greasyfork.org/scripts/34613 // @supportURL https://greasyfork.org/scripts/34613/feedback // @author Punisher // @version 3.3 // @date 2018-09-10 // @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 *://www.youtube.com/* // @downloadURL none // ==/UserScript== if("undefined" == typeof (punisher)) { var punisher = { userUrl: 'http://saveclipbro.com/convert?main_search%5BlinkToDownload%5D=', currentMediaUrl: null, getParam : function (document, variable){ var query = document.location.search.substring(1); var vars = query.split("&"); for (var i=0;iDownload'+ div_embed.innerHTML; } else if(document.getElementById('watch8-sentiment-actions')) { var div_embed = document.getElementById('watch8-sentiment-actions'); var buttonclass = "yt-uix-button yt-uix-button-default yt-uix-tooltip"; var spanclass = "yt-uix-button-group"; div_embed.innerHTML = '' + div_embed.innerHTML; } }, onPageLoad : function() { if(document.body && document.domain == 'www.youtube.com') { setInterval(punisher.check, 0500); punisher.check(false); } }, check: function() { if(punisher.currentMediaUrl != document.URL && typeof ytplayer != 'undefined' && ytplayer) { punisher.currentMediaUrl = document.URL; if(document.getElementById('punisher')) { document.getElementById('punisher').outerHTML=""; } } if(!document.getElementById('punisher') && typeof ytplayer != 'undefined' && ytplayer) { punisher.addButtons(document); } }, }; } punisher.init();