Skip to content

A chrome extension that blocks/hides the videos in your feed that distract you and allows you to focus on videos that are important. Choose the categories of videos that you want to allow in your feed and all videos that don't belong to those categories will be blocked as distractions.

Notifications You must be signed in to change notification settings

dotel-saramsz/youtube-focus-mode

Repository files navigation

YouTube Focus Mode

YouTube Focus Mode is a chrome extension that blocks and hides the videos in your feed that distract you and allows you to focus on videos that are important. Choose the categories of videos that you want to allow in your feed and all videos that don't belong to those categories will be blocked as distractions.

Home Feed GIF

Installation

A. From Chrome Web Store

The easiest way to begin using the extension is to install it from Chrome Web Store.

  1. Click on this link to view the extension in Chrome Web Store.
  2. Add the extension to Chrome and choose your preferred video categories.

B. Build Manually

You'll require node and npm to build the extension.

  1. Clone the repository
  2. Navigate to the project directory and install required dependencies
$ npm install
  1. Build the extension
$ npm run build
  1. After the build is complete, a dist/ directory is created in the root directory of the project. This directory contains the necessary js files and static files to run the extension. To use the extension, load it into your Chrome browser:

    1. Open chrome and navigate to chrome://extensions.
    2. Click on Load unpacked (Make sure that Developer Mode is enabled in Chrome).
    3. Select the dist/ directory that was created above.

Usage

The first thing to do after installing YouTube Focus Mode is to choose the categories of videos that you'd like to allow in your feed in the Focus Mode. The categories of the video are fetched using the YouTube Data API.

The extension can block/hide YouTube videos in 3 different scenarios:

  • Home Feed

    • Hides the recommendation bar
    • Hides the videos belonging to distractive categories
    • Hides the sidebar Home Feed GIF
  • Search Results

    • Hides the recommendation and filtering options
    • Hides the search results having videos from distractive categories. Search Feed GIF
  • YouTube Video Player

    • Pauses and hides the video if it belongs to a distractive category
    • Hides the related videos in the right column that belong to distractive categories.

Contributing

Contributions in the form of code, documentation or simple feedback and suggestions are highly appreciated. Further details can be found in contributing.md

About

A chrome extension that blocks/hides the videos in your feed that distract you and allows you to focus on videos that are important. Choose the categories of videos that you want to allow in your feed and all videos that don't belong to those categories will be blocked as distractions.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published