YouTube on work Mac?
This post covers how to run your personal YouTube account (or the closest alternative) on a work machine, in case the title was ambiguous.
Disclaimer: It won’t work if youtube.com is blocked outright via VPN or other network controls. Your IT team may still flag it depending on how granular their monitoring is. Check your company's acceptable-use policy before trying this. You're responsible for how you use it.
Vibe coding without the vibe
To set the context: due to my self-diagnosed ADHD coupled with the attention span of a goldfish 🐠, I tend to put the vibe in vibe coding by having ▶️ YouTube and 🎵 music playing in the background.
After I recently switched organizations, restrictions on my work machine stopped me from signing into my personal YouTube account. YouTube still works when I'm signed in with my org email or in incognito.
Before you file this under first-world problems like using overpriced AirTags to track overpriced assets or buying a Thar (that’s just expensive on mental health 🧘), consider the flow state. When you're in the groove, firing off crisp prompts like "fix this" and "pull the latest master" at Fable 5.2 on max mode, an interruption is costly. Therefore, I prefer to have my premium YouTube membership and its sweet recommendations thrown at me, without having to train AI again on what I like or dislike.
That’s my motivation for this cause. Below are the approaches I tried and what I settled on. If you’re in a hurry, skip to Final setup or ask AI to summarize it, because who reads blogs in 2026 🤷♂️? Or do it the old way and make up for it in your doom-scrolling time.
And then there were some 😉
Nothing here is fully reliable. These are the approaches I tried:
- 🌐 Alternative browsers — It doesn’t hurt to install other browsers like Safari, Firefox, etc. and check whether the restriction is limited to Chrome.
- ☎️ AirPlay from iPhone to Mac — What makes you think they wouldn’t block that? Not viable.
- 📺 YouTube TV spoofing — The step that blocks our login is essentially the OAuth flow. Misguiding the browser into behaving like a TV, combined with the fact that YouTube on TV can be logged into through a mobile device, gets us through. This is the final setup we chose.
Final setup
Prerequisites
Use a secondary browser. Firefox or Safari work best (any Chromium browser should also work). These steps use Firefox.
Install these two add-ons from the Firefox Add-ons store:
- User Agent Switcher: makes the browser identify as a TV
- Tampermonkey: adds extra functionality to specific sites
Step 1: Configure User Agent Switcher
-
Click the add-on in the toolbar and paste this into the userAgent field:
Mozilla/5.0 (SMART-TV; Linux; Tizen 5.0) AppleWebKit/537.36 (KHTML, like Gecko) Version/5.0 TV Safari/537.36 -
Go to Options, switch to White-list mode, and add this domain so the TV user agent only applies there:
youtube.com/tv
Step 2: Add the improvements script
- Click Tampermonkey in the toolbar and choose Create a new script.
- Paste in the script from the Improvements Gist and save.
This lets you press / to search.
Step 3: Open YouTube TV
Go to youtube.com/tv and sign in with your phone. Enjoy the (admittedly clunky) TV interface in your browser.
Drawbacks
Needless to say, the solution doesn’t work perfectly, since the YT TV UI is optimized for… wait for it… TV (what a revelation). Here are a few functional/UI issues that bug me:
- 🔍 Search doesn’t work properly — Probably because the keyboard keys aren’t mapped to typing and are reserved for other shortcuts. This is improved by the script we added using Tampermonkey.
- 🎵 YT Music — It is embedded in YouTube TV, and while it works effortlessly, the problem is that it doesn’t necessarily give you an option to just show the cover art instead of playing the video for the song.
If you have a better setup, improvements to mine, or questions, drop them in the comments 💬
Auf Wiedersehen 👋