9 Aug 2018

YouTube downloader - via script

A simple button to download youtube media
The script copy the youtube link and open automatically a converter website. Just paste link, select format, done.

Install (copy/paste):
Source: m.youtube.com
script:
/*youtube*/if(location.href.match("youtube.com/")){ function createyoutubeBtn() { var isyoutubeBtn = document.getElementById('youtubeBtn'); if (isyoutubeBtn) { isyoutubeBtn.parentNode.removeChild(isyoutubeBtn); }; var youtubeBtn = document.createElement("div"); youtubeBtn.id = "youtubeBtn"; youtubeBtn.innerHTML = "Yt"; youtubeBtn.setAttribute("style","font-size:4vw !important;width:10vw !important;height:10vw !important;line-height:10vw !important;text-align:center !important;background-color:rgba(26,255,0,0.4) !important;box-shadow:0px 1px 10px rgba(0,0,0,0.2) !important;color:#000 !important;position:fixed !important;bottom:20vh !important;right:5vw !important;z-index:99999 !important;border-radius:100% !important;display:block !important;"); youtubeBtn.onclick = function () {var dummy = document.createElement('input'),     text = window.location.href; document.body.appendChild(dummy); dummy.value = text; dummy.select(); document.execCommand('copy'); document.body.removeChild(dummy); getUrl(location.href); }; document.body.appendChild(youtubeBtn); }; function getUrl (x) {location.href = "https://www.onlinevideoconverter.com/en/video-converter"; }; createyoutubeBtn(); };

Enjoy
Please pay me a coffee


0 comments:

Post a Comment

 
Copyright © VIA BROWSER ANDROID
;