The setup: create a DeepZone profile called “YouTube Study Windows,” put youtube.com in its Sites blocklist, and reserve separate times for tutorials or courses. The rule applies to that whole site regardless of a video’s topic. It does not distinguish educational videos from entertainment or establish blocking of every separate embedded-player host.
Give the tutorial a time of its own
When a two-minute search becomes a succession of recommended videos, decide when you need YouTube before opening it. Write down one learning task, the direct video or course link, and the time you will stop. Keep that note with the work you are doing.
The “YouTube Study Windows” profile puts a boundary around the rest of the day. The example blocks weekdays from 09:00 to 17:00, leaving a planned learning window before 09:00 or after 17:00. Change those hours for your real timetable. If a course is essential throughout the morning, leave that period available and protect a different work block.
The recipe uses website blocking and basic schedules, which the official DeepZone plan page lists in Free. The captured installation had Pro Lifetime; Free entitlement was not tested separately. Use an available profile slot in your installed version. No keyword rule, native-app rule or Lock Mode was enabled.
1. Create “YouTube Study Windows”
Open DeepZone from the Mac menu bar, open Profiles, and add a profile named YouTube Study Windows. Leave it paused while setting it up. Check that no other active profile or category is already blocking YouTube; otherwise you cannot tell which setting caused the result.

Leave Lock Mode off for the first test. A short, reversible test lets you correct the list or restore a needed lesson without waiting for a locked session to finish.
2. Add the parent domain, then check real links
In Blocklist → Sites, add youtube.com. Start with that parent domain. Test a normal watch link and the links you actually use before adding any other hosts.

youtube.com is a domain; www.youtube.com and m.youtube.com are subdomains. /watch and /shorts/ are paths. .com is the top-level domain, or TLD. Adding the parent domain is a whole-site rule, not a way to distinguish videos by subject.
| Host or route | Type | What to do |
|---|---|---|
youtube.com | Parent domain | Add to Sites; test the homepage and a normal video. |
www.youtube.com, m.youtube.com | Subdomains | Test under the parent rule before adding redundant entries. |
youtu.be | Separate domain used by short links | Not added: the root and the tested sample-video link both redirected to blocked YouTube. |
youtube-nocookie.com | Separate embed domain | Not added and not blocked in this test. Its reachable root does not establish whether a course player works. |
| Your course or tutorial | Required learning route | Test playback during an available window, including any embedded player. |
YouTube’s official embed instructions document the separate youtube-nocookie.com host used for privacy-enhanced players. Blocking more hosts can also stop a video embedded inside a course website. Opening the course homepage alone is not a playback test.
3. Add the blocked hours
In Schedule → Add hours, select Monday through Friday and enter 09:00–17:00 for the example work block. Keep the intended learning time outside that range. A schedule describes when blocking runs; it is not a whitelist of educational videos.

Before relying on a long schedule, use a short unlocked test near the current time. Check the profile state just before and after the end. Another running profile can keep YouTube blocked even when this one finishes.
4. Test the interruption and the return to learning
With the profile active, open a fresh YouTube tab, then a direct video link and a shared link. Try a lesson that was already open as well: loaded content and a new request are different cases. Open a site you need for work in the same session.

youtube.com as its label. This shows the real app UI; it is not a capture of an automatic redirect from a blocked route.
Pause the unlocked profile or wait for the test window to finish, then revisit the same video and press Play. If you need a signed-in course, test that exact lesson in your normal browser too. A logged-out page loading does not establish signed-in course access.

| Route | Before blocking | While active |
|---|---|---|
www.youtube.com/ | Returned HTTP 200. | Fresh connection refused. |
m.youtube.com/ | Redirected to the desktop site; HTTP 200. | Fresh connection refused. |
youtu.be/ | Redirected to the YouTube homepage; HTTP 200. | Redirected to YouTube, then the connection was refused. |
www.youtube.com/watch?v=M7lc1UVf-VE | Not separately recorded before activation. | Fresh connection refused. |
youtu.be/M7lc1UVf-VE | Not separately recorded before activation. | Redirected to the sample watch route, then connection refused. |
www.youtube.com/embed/M7lc1UVf-VE | Not separately recorded before activation. | Fresh connection refused. This request does not test playback. |
www.youtube-nocookie.com/ | Server returned HTTP 404. | Server still returned HTTP 404: reachable, with no root page. No embed playback established. |
developer.mozilla.org/en-US/, deepzone.app/ | Returned HTTP 200. | Still returned HTTP 200. |
A separate private-window check in Safari 26.6.2 (build 21624.5.1.11.3) also failed to connect to www.youtube.com/watch?v=M7lc1UVf-VE while the profile was active. That browser showed a connection error; the app-page reference above does not imply it redirected automatically to DeepZone’s interruption UI.
Test scope: fresh network requests, the public sample video in Codex’s browser and the specific Safari private-window route above were checked on macOS 26.6.2 with DeepZone 2.0.0 build 24. The Codex browser’s YouTube sign-in state was not separately established. Installed Chrome, account-specific courses, embedded-player playback and background playback were not validated. One public video playing does not establish every course or embed.
The scheduled end was observed. After capturing the example workweek, the demonstration used a short Monday 09:00–09:25 window. At 09:25 Paris time on October 19, the profile paused automatically. The homepage, mobile entry, shared root and sample watch/shared/embed routes returned HTTP 200 immediately afterward. A separate browser check then played the official sample video. This establishes the tested boundary and that video’s return, not a full week of scheduling.
If a video opens, or your lesson stays blocked
- A shared link opens: record both its first hostname and final destination. Test the final route and add a separate domain only when that observation justifies it.
- An embedded player behaves differently: test it inside the real course page. YouTube documents that a direct embed URL without the surrounding page can produce error 153, which is not evidence of a successful DeepZone block.
- A video already playing continues: close and reopen it, then test a fresh request. This guide does not promise to erase buffered media.
- Learning time arrives but YouTube is unavailable: check every active profile, selected weekday and end time. Test the required video after the profile pauses.
- You only want to block Shorts: this recipe blocks YouTube as a whole. Do not substitute a
shortskeyword and assume ordinary videos are preserved.
At the end of a week, review whether the learning windows were useful. Move the hours if needed, and keep a short list of the videos you intend to watch so the available window has a purpose.
Sources and related setups
Checked October 19, 2026: DeepZone’s official product page for profiles, website blocking, schedules and plan eligibility; YouTube Help: Embed videos and playlists for the separate embed host and playback caveats; and Google’s IFrame API reference for the official sample video used in the route probes. Product descriptions do not substitute for the route tests above. The configuration pictures are direct captures from the installed app. The interruption picture is a directly opened app-page reference, separate from the route probes.
For the wider setup, read how to block social media on Mac, scheduled website blocking, and the X and Twitter focus-time tutorial.