Unsubscribe to all YT channels at once

 Unsubscribe to all YT channels at once. 


==============================


Step 1: Go to this link or paste it in your Browser (Open it in your PC only) 


https://www.youtube.com/feed/channels


Step 2: Now Press "F12" or right click anywhere and click on Inspect.


Step 3: In the inspect section on the top bar go to console and paste the following Script.


Step 4: Hit enter


==============================


SCRIPT 

 

var i = 0;

var count = document.querySelectorAll("ytd-channel-renderer:not(.ytd-item-section-renderer)");

myTimer();


function myTimer () {

    if (count == 0) return;

    el = document.querySelector('.ytd-subscribe-button-renderer');

    el.click();


    setTimeout(function () {

        var unSubBtn = document.getElementById("confirm-button").click();

        i++;

        count--;

        console.log(i + " unsubscribed");

        console.log(count + " remaining");


        setTimeout(function () {

            el = document.querySelector("ytd-channel-renderer");

            el.parentNode.removeChild(el);

            myTimer();

        }, 250);

    }, 250);

}


==============================


Credit - Only Goes To Coder.

Post a Comment

أحدث أقدم