malekwael229/FocusTube
소개
Block YouTube Shorts, Instagram Reels, TikTok, Facebook Reels & LinkedIn feed. Stop doomscrolling, stay productive.
생산성 및 자동화What you can do
- Browser extension APIs for storage, alarms, notifications, popup UI, options UI, and content scripts.
- Cross-browser manifests for Chromium and Firefox.
- Site-specific content scripts for YouTube, Instagram, TikTok, Facebook, LinkedIn, and the current Reddit interface.
- Shared DOM utilities for overlays, visual hiding, timer state, and SPA updates.
측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- +2
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalFocusTube - Shorts, Reels & Feed Blocker
A privacy-first browser extension for reducing distracting social video and feed surfaces.
Supports YouTube Shorts, Instagram Reels, TikTok, Facebook Reels, LinkedIn feeds, and current Reddit feeds.
Installation | Features | Configuration | Technical Highlights | Privacy
FocusTube is an open-source browser extension that helps reduce doomscrolling and stay focused. It blocks or hides distracting areas on supported platforms while keeping settings and usage data local to the browser.
The project supports Chromium browsers with a Manifest V3 build and Firefox, including Firefox for Android, with a separate compatibility manifest.
Features
Blocking Modes
- Strict Mode: Blocks distracting surfaces by redirecting or showing a blocking overlay.
- Warn Mode: Shows an interstitial before access where supported.
- Passive Mode: Allows normal browsing while visual hiding controls can still reduce distracting entry points.
Supported Surfaces
- YouTube: Redirects Shorts and Playables routes in Strict Mode or work sessions, warns in Warn Mode, and can hide their navigation and discovery shelves plus the English "Most relevant" shelf on the Subscriptions page.
- Instagram: Blocks Reels/Explore paths; can hide Reels navigation and Stories; and optionally filters suggested or sponsored posts when detected.
- TikTok: Blocks common feed/video surfaces while allowing safer areas such as messages and settings.
- Facebook: Blocks Reels paths and can hide Reels navigation, Stories, and People You Might Know suggestions.
- LinkedIn: Can hide the main feed and "Add to your feed" sidebar card, with optional filtering for suggested, outside-network, promoted, and network-activity posts when detected.
- Reddit: Hides current Reddit Home, News, Popular, All, and community feeds in Strict mode or during work timers. Warn mode offers a per-feed reveal; Passive shows feeds. Individual posts, comments, and search remain available. The legacy
old.reddit.cominterface is not covered. Reddit needs a one-time Allow Reddit access approval from the Reddit settings before it does anything.
Productivity Tools
- Built-in focus/break timer.
- Optional browser notifications when timers complete.
- Local blocked count.
- Popup and options pages for browser-local configuration.
Installation
The FocusTube project website includes platform-specific guides and the same official store links used by the extension.
The latest published GitHub release is 2.6.1. Browser-store updates are separate; check the version shown on each listing before treating a store listing as current.
Official Stores
Manual Installation
Clone or download this repository, then choose the manifest for your browser.
Chrome, Edge, Brave, and other Chromium browsers
The Chromium build uses Manifest V3.
- Copy
chrome-manifest.jsontomanifest.json, keeping the original file for builds and tests. - Open
chrome://extensionsoredge://extensions. - Enable Developer mode.
- Click Load unpacked.
- Select the repository folder containing the copied
manifest.json.
Firefox
The Firefox build currently uses Manifest V2 for compatibility.
- Copy
firefox-manifest.jsontomanifest.json, keeping the original file for builds and tests. - Open
about:debugging#/runtime/this-firefox. - Click Load Temporary Add-on....
- Select the copied
manifest.jsonfile.
Firefox temporary add-ons are removed when the browser restarts. Reload the manifest from about:debugging when testing changes.
Configuration
Click the extension icon to open the popup:
- Toggle FocusTube on or off.
- Toggle visual distraction hiding.
- Configure each supported platform.
- Start or stop the focus/break timer.
- Open the options page for timer settings, platform visibility, import/export, and reset controls.
Technical Highlights
- Browser extension APIs for storage, alarms, notifications, popup UI, options UI, and content scripts.
- Cross-browser manifests for Chromium and Firefox.
- Site-specific content scripts for YouTube, Instagram, TikTok, Facebook, LinkedIn, and the current Reddit interface.
- Shared DOM utilities for overlays, visual hiding, timer state, and SPA updates.
MutationObserver, browser navigation events, and timer-driven messaging for dynamic single-page applications.- Local browser storage for preferences, timer state, stats, and import/export data.
Privacy
FocusTube is designed to run locally in the browser.
- No analytics or tracking: The extension code does not include analytics SDKs or telemetry calls.
- No remote backend: The extension does not send browsing data or settings to a project-controlled server.
- Local storage: Preferences, timer state, stats, and settings backups use browser-local APIs such as
chrome.storage.local. - User-opened links only: The popup/options UI can open GitHub or store listing pages when the user clicks related buttons.
How It's Built
I develop FocusTube with the help of AI coding tools. I decide what it does, review the changes, and test every release before it goes to the stores.
Contributing
See CONTRIBUTING.md for contribution guidance and CODE_OF_CONDUCT.md for community standards. TESTING.md covers automated commands and the browser matrix; ARCHITECTURE.md describes the runtime boundaries.
Security
See SECURITY.md for reporting security or privacy issues.
License
관련 프로젝트 살펴보기
불러오는 중…