Overview
YouTube Blocker – Take Back Your Time
YouTube Blocker shows a gentle overlay the moment you open YouTube so you can decide: keep watching or close the tab and do something better. It helps you design your environment—not your willpower—for focus and healthier habits.
GitHub
✨ Features
On-YouTube overlay UI with two clear actions:
“Watch” (close the overlay) or “Quit” (send a message to the background and close the current tab).
Reminder (optional): reshow the overlay after a user-defined number of minutes. Works even in the same tab after the timer elapses.
Task list editor (popup): edit and save your personal “do this instead” list directly from the extension popup.
Sync-first storage with safe fallback: saves settings to chrome.storage.sync, and automatically falls back to localStorage when sync isn’t available.
Show frequency controls: shows once per session (tracked via sessionStorage) by default; reminder timing works independently.
Themes: Light / Dark / Auto (follows OS). Instant preview in popup.
Multilingual UI: 10 languages (auto-detect + manual switch in popup).
Built for MV3: minimal permissions (tabs, storage), host permissions for www.youtube.com/*.
Tech: React + TypeScript, Vite + @crxjs/vite-plugin (MV3 build), typed with chrome-types.
🔐 Privacy & Data
Your tasks and settings are saved in your browser’s storage (sync with fallback to local). No account required. See the project’s Privacy Policy for details.
Open Source: GitHub – HirokiTsurunaga/youtube-blocker
🌐 Available in Multiple Languages
English – A mindful overlay that asks if you really want to watch.
日本語 (Japanese) – YouTubeを開くと“代わりにやること”オーバーレイを表示。見る/やめるを自分で選べます。
Español (Spanish) – Muestra una superposición al abrir YouTube para elegir entre seguir viendo o cerrar la pestaña.
Português (Portuguese) – Exibe uma sobreposição ao abrir o YouTube para você decidir: assistir ou fechar a aba.
हिन्दी (Hindi) – YouTube खोलते ही ओवरले दिखता है—देखना जारी रखें या टैब बंद करें, आपकी पसंद।
简体中文 (Simplified Chinese) – 打开 YouTube 即显示覆盖层:继续观看或关闭标签页,由你决定。
Français (French) – Superposition dès l’ouverture de YouTube : continuer à regarder ou fermer l’onglet.
Deutsch (German) – Overlay beim Öffnen von YouTube: weiter ansehen oder Tab schließen.
한국어 (Korean) – YouTube를 열면 오버레이가 표시됩니다. 계속 볼지, 탭을 닫을지 선택하세요.
Русский (Russian) – При открытии YouTube появляется оверлей: продолжить просмотр или закрыть вкладку.
(Automatic detection + manual language switch in the popup.)
📌 Notes for Reviewers / Power Users
Overlay is injected by a content script on www.youtube.com/*; “Quit” sends a runtime message that the background service worker handles to remove the active tab.
Reminder timing persists via chrome.storage.local (lastShownAt) and works independently of the once-per-session display flag.
Tags
Privacy Practices
🔐 Security Analysis
⏳ Security scan is queued. Check back soon.