Distractions can be a major challenge to productivity. Thankfully, there are tools like Focus for macOS, which can help manage these distractions by allowing you to block or unblock certain websites. In this article, we will focus on how to block and unblock YouTube, allowing access to specific videos or playlists. The simplest scenario is simply blocking all of YouTube. You can accomplish this with Focus by adding the following rule to Preferences > Blocking > Websites > Block these websites If you want to allow a single video, you can whitelist it by adding a + before the rule, like this: You can add as many video exceptions as you'd like. But if you have a lot of videos, it may be easier to add them to a playlist and allow that. To block all of YouTube except for a playlist, use a wildcard * like this: When you're on a playlist, look into the URL and grab the list parameter, and insert it into YOUTUBE_LIST_ID_GOES_HERE. Also ensure to start the rule with a plus + and use a wildcard * in watch?v=* This rule says, allow YouTube URLs with any video, but only in the playlist specified. Focus has URL blocking and Advanced URL blocking to block only the distractions you need. It let's you slice and dice, so you can keep what's helpful, and block what's distracting. Improve your productivity with Focus today!Blocking all of YouTube
youtube.com
Blocking all of YouTube except for a specific video
youtube.com
+https://www.youtube.com/watch?v=dQw4w9WgXcQ
Blocking all of YouTube except for a playlist
youtube.com
+https://www.youtube.com/watch?v=*&list=YOUTUBE_LIST_ID_GOES_HERE
Focus is a Mac app that helps you take back your productivity.
Using Focus to Manage Your YouTube Access
Learn how to use Focus to block YouTube, or allow access to specific videos or playlist
Need help?
Email [email protected] with any questions about Focus, and we'll assist you as soon as possible!