YouTube Auto Unsubscribe Script

Step 1: Go to https://www.youtube.com/feed/channels

Step 2: Then Press Ctrl+Shift+I










Step 3: Paste the given bellow script and hit enter 😃
Script:


var i=0;
var myVar = setInterval(myTimer, 3000);
function myTimer() {
var els = document.getElementById("grid-container").getElementsByClassName("ytd-expanded-shelf-contents-renderer");
if(i<els.length){
els[i].querySelector('[aria-label="Unsubscribe from this channel."]').click();
setTimeout(function(){
var unSubBtn = document.getElementById("confirm-button").click();
}, 2000);
setTimeout(function(){
els[i].parentNode.removeChild(els[i]);
}, 2000);
}
i++;
console.log(i + " unsubscribed by @earegun");
console.log(els.length + " remaining");
}

Comments

Popular posts from this blog

Link3 FTP Server

āĻ•েāĻ¨ āĻ—āĻŦেāĻˇāĻŖা āĻ•āĻ°āĻŦ?

Arduino Adventures by Floyd Kelly James and Harold Timmis