<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: EinfachRuwen</title>
    <description>The latest articles on DEV Community by EinfachRuwen (@einfachruwen).</description>
    <link>https://dev.to/einfachruwen</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F676556%2F0ea5f4b7-6916-4f7d-a9ef-1d87cd1695cb.jpg</url>
      <title>DEV Community: EinfachRuwen</title>
      <link>https://dev.to/einfachruwen</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/einfachruwen"/>
    <language>en</language>
    <item>
      <title>How to massive unsubscribe YouTube-Channels</title>
      <dc:creator>EinfachRuwen</dc:creator>
      <pubDate>Sun, 25 Jun 2023 17:22:22 +0000</pubDate>
      <link>https://dev.to/einfachruwen/how-to-massive-unsubscribe-youtube-channels-3777</link>
      <guid>https://dev.to/einfachruwen/how-to-massive-unsubscribe-youtube-channels-3777</guid>
      <description>&lt;p&gt;YouTube is a popular platform for consuming and discovering content from various channels. However, over time, you may find yourself subscribed to numerous channels that no longer interest you. Manually unsubscribing from each channel can be a time-consuming process. In this article, we will guide you through the steps to quickly unsubscribe from all YouTube channels at once using a script.&lt;/p&gt;

&lt;h2&gt;
  
  
  Prerequisites:
&lt;/h2&gt;

&lt;p&gt;Before proceeding with the steps, ensure that your YouTube language settings are set to English. This will help you navigate the interface more easily.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 1: Accessing Subscription Settings:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Open YouTube in your web browser and sign in to your account.&lt;br&gt;
On the left-hand side of the page, locate and click on the "Subscriptions" link. It is usually found below the YouTube logo and above the sidebar menu.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 2: Managing Subscriptions:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Once you are on the Subscriptions page, look for the "Manage" button, usually located towards the right side of the page.&lt;br&gt;
Click on the "Manage" button to access the subscription management options.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 3: Opening the Browser Console:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;To open the browser console, right-click on any blank area of the page. Make sure you do not right-click on any channel name or subscription.&lt;br&gt;
From the context menu that appears, select "Inspect" or "Inspect Element." This will open the browser developer tools.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 4: Pasting the Script:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;In the developer tools panel, locate the "Console" tab. It is usually found at the top of the panel.&lt;br&gt;
Click on the "Console" tab to open the console window.&lt;br&gt;
You can now paste the script that automates the unsubscribing process into the console.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="cm"&gt;/**

* YouTube bulk unsubscribe fn.

* Wrapping this in an IIFE for browser compatibility.

*/&lt;/span&gt;

&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;async&lt;/span&gt; &lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nx"&gt;iife&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;

&lt;span class="c1"&gt;// This is the time delay after which the "unsubscribe" button is "clicked"; Change it as per your need!&lt;/span&gt;

&lt;span class="kd"&gt;var&lt;/span&gt; &lt;span class="nx"&gt;UNSUBSCRIBE_DELAY_TIME&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;2000&lt;/span&gt;

&lt;span class="cm"&gt;/**

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

* @param {Function} fn

* @param {number} delay

*/&lt;/span&gt;

&lt;span class="kd"&gt;var&lt;/span&gt; &lt;span class="nx"&gt;runAfterDelay&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;fn&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;delay&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nb"&gt;Promise&lt;/span&gt;&lt;span class="p"&gt;((&lt;/span&gt;&lt;span class="nx"&gt;resolve&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;reject&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;

&lt;span class="nx"&gt;setTimeout&lt;/span&gt;&lt;span class="p"&gt;(()&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;

&lt;span class="nx"&gt;fn&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;

&lt;span class="nx"&gt;resolve&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;

&lt;span class="p"&gt;},&lt;/span&gt; &lt;span class="nx"&gt;delay&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="p"&gt;})&lt;/span&gt;

&lt;span class="c1"&gt;// Get the channel list; this can be considered a row in the page.&lt;/span&gt;

&lt;span class="kd"&gt;var&lt;/span&gt; &lt;span class="nx"&gt;channels&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nb"&gt;Array&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="k"&gt;from&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;document&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;getElementsByTagName&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;`ytd-channel-renderer`&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;

&lt;span class="nx"&gt;console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;log&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;`&lt;/span&gt;&lt;span class="p"&gt;${&lt;/span&gt;&lt;span class="nx"&gt;channels&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;length&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="s2"&gt; channels found.`&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="kd"&gt;var&lt;/span&gt; &lt;span class="nx"&gt;ctr&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;

&lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;channel&lt;/span&gt; &lt;span class="k"&gt;of&lt;/span&gt; &lt;span class="nx"&gt;channels&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;

&lt;span class="c1"&gt;// Get the subscribe button and trigger a "click"&lt;/span&gt;

&lt;span class="nx"&gt;channel&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;querySelector&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;`[aria-label^='Unsubscribe from']`&lt;/span&gt;&lt;span class="p"&gt;).&lt;/span&gt;&lt;span class="nx"&gt;click&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;

&lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nx"&gt;runAfterDelay&lt;/span&gt;&lt;span class="p"&gt;(()&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;

&lt;span class="c1"&gt;// Get the dialog container...&lt;/span&gt;

&lt;span class="nb"&gt;document&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;getElementsByTagName&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;`yt-confirm-dialog-renderer`&lt;/span&gt;&lt;span class="p"&gt;)[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;

&lt;span class="c1"&gt;// and find the confirm button...&lt;/span&gt;

&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;querySelector&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;`[aria-label^='Unsubscribe']`&lt;/span&gt;&lt;span class="p"&gt;).&lt;/span&gt;&lt;span class="nx"&gt;click&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;

&lt;span class="nx"&gt;console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;log&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;`Unsubsribed &lt;/span&gt;&lt;span class="p"&gt;${&lt;/span&gt;&lt;span class="nx"&gt;ctr&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="s2"&gt;/&lt;/span&gt;&lt;span class="p"&gt;${&lt;/span&gt;&lt;span class="nx"&gt;channels&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;length&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="s2"&gt;`&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="nx"&gt;ctr&lt;/span&gt;&lt;span class="o"&gt;++&lt;/span&gt;

&lt;span class="p"&gt;},&lt;/span&gt; &lt;span class="nx"&gt;UNSUBSCRIBE_DELAY_TIME&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="p"&gt;})()&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;blockquote&gt;
&lt;p&gt;Note: Please exercise caution while using any external scripts or code on websites. Only use trusted sources and scripts.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;Step 5: Running the Script:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;After pasting the script into the console, press the "Enter" key to execute it.&lt;br&gt;
The script will automatically initiate the process of unsubscribing from all YouTube channels.&lt;br&gt;
Be patient and allow the script to complete its task. Depending on the number of subscriptions, it may take some time to unsubscribe from all channels.&lt;/p&gt;

&lt;p&gt;By following the steps outlined in this article, you can quickly unsubscribe from all YouTube channels at once, saving you time and effort. Remember to exercise caution when using external scripts and ensure they come from trusted sources. Enjoy a clutter-free YouTube experience tailored to your preferences!&lt;/p&gt;

</description>
    </item>
    <item>
      <title>quit</title>
      <dc:creator>EinfachRuwen</dc:creator>
      <pubDate>Sat, 07 Aug 2021 13:36:58 +0000</pubDate>
      <link>https://dev.to/einfachruwen/quit-4kpc</link>
      <guid>https://dev.to/einfachruwen/quit-4kpc</guid>
      <description>&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--ZYvNsOhC--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/mnyatnbnu84s9gbqekwk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--ZYvNsOhC--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/mnyatnbnu84s9gbqekwk.png" alt="Banner" width="800" height="132"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;iframe width="710" height="399" src="https://www.youtube.com/embed/HtHanqdMrGM"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;p&gt;Hallo Leute,&lt;/p&gt;

&lt;p&gt;am 08.01.2018 hat dieser Kanal das Licht der Welt erblickt. Seitdem ging das Thema dieses Kanals von Musik zum Gaming, spezifischer: Minecraft. Es ging so weit, dass ich die 200 Abonnenten erreichen konnte, was eins meiner Ziele war.&lt;/p&gt;

&lt;p&gt;Nach 3 erlebnisreichen Jahren voller Freude, ist es nun an der Zeit um Abschied zu nehmen.&lt;br&gt;
Da mir die Zeit fehlt und ich nur noch wenig Motivation habe weiterzumachen, werde ich mich zurückziehen.&lt;/p&gt;

&lt;p&gt;Vielen Dank für die gemeinsame Zeit, die ich mit euch verbringen durfte. &lt;br&gt;
Wie heißt es so schön: &lt;br&gt;
"&lt;strong&gt;Man sieht (hört) sich immer zweimal im Leben.&lt;/strong&gt; "&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;byZero&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>youtube</category>
      <category>quit</category>
      <category>byzero</category>
    </item>
  </channel>
</rss>
