YouTube™ Multi Downloader v9.2 🌐🚀💯 - YT1s.com (NO ADS & NEW LAYOUT FOR YT! 🚫🤩)

This script adds a download button, a faster way to download audio and video from YouTube with guaranteed quality. This site is very simple, fast and effective to download! Best of all!

< YouTube™ Multi Downloader v9.2 🌐🚀💯 - YT1s.com (NO ADS & NEW LAYOUT FOR YT! 🚫🤩)についてのフィードバック

レート:良 – スクリプトは良好に動作する

§
投稿日: 2021/06/02

Fixed layout:


(function() {
if (document.getElementById("browser-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) {
AddYT();
}
}, 1);

const 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 AddYT() {
var buttonDiv = document.createElement("span");
buttonDiv.id = "punisher";
buttonDiv.style.width = "100%";
buttonDiv.style.padding = "10px 0";
var addButton = document.createElement("a");
addButton.appendChild(document.createTextNode("DOWNLOAD"));
addButton.style.cursor = "pointer";
addButton.style.height = "inherit";
addButton.style.backgroundColor = "#393939";
addButton.style.color = "#ffffff";
addButton.style.padding = "10px 22px";
addButton.style.margin = "0px 0px";
addButton.style.border = "0";
addButton.style.borderRadius = "2px";
addButton.style.fontSize = "1.4rem";
addButton.style.height = "1.6rem";
addButton.style.fontFamily = "inherit";
addButton.style.textAlign = "center";
addButton.style.display = "flex";
addButton.style.alignItems = "center";
addButton.style.textDecoration = "none";
addButton.href = "//yt1s.com/?q=" + encodeURIComponent(location.href);
addButton.target = "_blank";
buttonDiv.appendChild(addButton);
var targetElement = document.querySelectorAll("[id='subscribe-button']");
if(targetElement){
for(var i = 0; i < targetElement.length; i++){
if(targetElement[i].className.indexOf("ytd-video-secondary-info-renderer") > -1){
targetElement[i].style.display = "flex";
targetElement[i].style.alignItems = "center";
targetElement[i].style.flexDirection = "row-reverse";
targetElement[i].appendChild(buttonDiv);
}
}
}
var descriptionBox = document.querySelectorAll("ytd-video-secondary-info-renderer");
if(descriptionBox[0].className.indexOf("loading") > -1){
descriptionBox[0].classList.remove("loading");
}
}
})();

Punisher作者
§
投稿日: 2021/06/08

😊

返信を投稿

返信を投稿するにはログインしてください。