Ticker

6/recent/ticker-posts

How to Unsubscribe Youtube Channels At A Single Time in 2022

If you are irritated about getting too many notifications on Youtube after subscribing to a number of channels then this article is for you. In this article, I will share a complete guide on how to unsubscribe from all the youtube channels in a single time in 2022.

How to Unsubscribe Youtube Channels At A Single Time in 2022

Youtube subscribe feature is designed to provide notifications on all the upcoming videos or updates but sometimes users subscribe to more channels & They get more notifications on mobile or desktop when get connected to the internet. This results in the hanging of the device and finally, the user decides to unsubscribe from the channel. Remember unsubscribing all the channels is time-consuming & you need a good internet connection to do this fast. To avoid this trouble, I will share a complete guide on how can you unsubscribe from the channels at a single time.

How to Unsubscribe Multiple Channels

To unsubscribe individual channel is an easy task but to multiple, you need a lot of time and hard work. Here I will share with you a technical method to unsubscribe all the channels at a time. Follow this method correctly because It is a little bit related to coding.

The name of this method is inspected element in which you have to put the following code in the HTML section of the youtube manager page.

Firstly, you have to open the manager page of the youtube channel & here you need to scroll down to ensure channels' visibility on the page. Now you have to click the right button of a mouse, choose the inspect option, & select console. Here you have to put the following mentioned HTML code.

/**

 * Youtube bulk unsubsribe fn.

 * Wrapping this in an IIFE for browser compatibility.

 */

(async function iife() {

  // This is the time delay after which the "unsubscribe" button is "clicked"; Tweak to your liking!

  var UNSUBSCRIBE_DELAY_TIME = 2000

/**

 * Delay runner. Wraps `setTimeout` so it can be `await`ed on.

 * @param {Function} fn

 * @param {number} delay

 */

  var runAfterDelay = (fn, delay) => new Promise((resolve, reject) => {

    setTimeout(() => {

      fn()

      resolve()

    }, delay)

  })

  // Get the channel list; this can be considered a row in the page.

  var channels = Array.from(document.getElementsByTagName(`ytd-channel-renderer`))

  console.log(`${channels.length} channels found.`)

  var ctr = 0

  for (const channel of channels) {

    // Get the subsribe button and trigger a "click"

    channel.querySelector(`[aria-label^='Unsubscribe from']`).click()

    await runAfterDelay(() => {

      // Get the dialog container...

      document.getElementsByTagName(`yt-confirm-dialog-renderer`)[0]

        // and find the confirm button...

        .querySelector(`#confirm-button`)

        // and "trigger" the click!

        .click()

      console.log(`Unsubsribed ${ctr + 1}/${channels.length}`)

      ctr++

    }, UNSUBSCRIBE_DELAY_TIME)

  }

})()

After pasting the code you will see magic on your screen. All the channels you subscribed, will go under unsubscribing process. 

Conclusion

Youtube is an ultimate source of enjoyment, knowledge & learning and so far keeping it consistent the feature of subscription is launched but too many notifications can lead to hanging the mobile phone or any device. The better way is to keep visiting the channels you want to see their videos without subscribing to them. For more helpful guides, stay tuned.

Post a Comment

0 Comments