Facebook
From desconhecido, 2 Months ago, written in JavaScript.
Embed
Download Paste or View Raw
Hits: 178
  1. var i = 0;
  2. var count = document.querySelectorAll("ytd-channel-renderer:not(.ytd-item-section-renderer)").length;
  3.  
  4. myTimer();
  5.  
  6. function myTimer () {  
  7.     if (count == 0) return;
  8.  
  9.     el = document.querySelector('.ytd-subscribe-button-renderer');
  10.     el.click();
  11.  
  12.     setTimeout(function () {
  13.         var unSubBtn = document.getElementById("confirm-button").click();
  14.         i++;
  15.         count--;
  16.  
  17.         console.log(i + " unsubscribed");
  18.         console.log(count + " remaining");
  19.  
  20.         setTimeout(function () {
  21.             el = document.querySelector("ytd-channel-renderer");
  22.             el.parentNode.removeChild(el);
  23.  
  24.             myTimer();
  25.         }, 250);
  26.     }, 250);
  27. }

Replies to mass unsub youtube rss

Title Name Language When
Re: mass unsub youtube Diminutive Tern javascript 1 Week ago.
Re: mass unsub youtube Chunky Capybara javascript 1 Month ago.