An Interest In:
Web News this Week
- April 3, 2024
- April 2, 2024
- April 1, 2024
- March 31, 2024
- March 30, 2024
- March 29, 2024
- March 28, 2024
October 23, 2020 02:00 pm GMT
Original Link: https://dev.to/manitej/unsubscribe-all-youtube-channels-at-once-3m95
Unsubscribe all YouTube channels at once!
Without any boring intro, let me get straight to the point.
- Go to this link
- Right-click and go inspect then go to console
- Now copy the below script and paste it on the console
function youtubeUnsubscriber() { var count = document.querySelectorAll("ytd-channel-renderer:not(.ytd-item-section-renderer)").length; var randomDelay = 500; if(count == 0) return false; function unsubscribeVisible(randomDelay) { if (count == 0) { window.scrollTo(0,document.body.scrollHeight); setTimeout(function() { youtubeUnsubscriber(); }, 10000) } unsubscribeButton = document.querySelector('.ytd-subscribe-button-renderer'); unsubscribeButton.click(); setTimeout(function () { document.getElementById("confirm-button").click() count--; console.log("Remaining: ", count); setTimeout(function () { unsubscribedElement = document.querySelector("ytd-channel-renderer"); unsubscribedElement.parentNode.removeChild(unsubscribedElement); unsubscribeVisible(randomDelay) }, randomDelay); }, randomDelay); } unsubscribeVisible(randomDelay);}youtubeUnsubscriber();
Enter fullscreen mode Exit fullscreen mode
- Hit enter and wait for some time to see the magic
After all are done, refresh the page.
Original Link: https://dev.to/manitej/unsubscribe-all-youtube-channels-at-once-3m95
Share this article:
Tweet
View Full Article
Dev To
An online community for sharing and discovering great ideas, having debates, and making friendsMore About this Source Visit Dev To