youtube-language-search-shield

YouTube Language Search Shield

YouTube Language Search Shield is a Chrome extension that blocks input in the YouTube search bar in specified languages. This extension helps users to avoid searching in unwanted languages.

Features

Installation

  1. Clone the repository:

     git clone https://github.com/sota009/youtube-language-search-shield.git
     cd youtube-language-search-shield
    
  2. Install dependencies:

     yarn install
    
  3. Build the project:

     yarn build
    
  4. Load the extension in Chrome:

    1. Open Chrome and go to chrome://extensions/.
    2. Enable “Developer mode” in the top right corner.
    3. Click “Load unpacked” and select the dist directory from the cloned repository.

Usage

  1. Click on the extension icon in the Chrome toolbar.
  2. Select the languages you want to block in the YouTube search bar.
  3. Click “Save” to save your preferences.
  4. The extension will block input in the YouTube search bar for the selected languages.

Development

Prerequisites

Running the project locally

  1. Clone the repository:

     git clone https://github.com/sota009/youtube-language-search-shield.git
     cd youtube-language-search-shield
    
  2. Install dependencies:

     yarn install
    
  3. Start the development server:

     yarn dev
    
  4. Open Chrome and load the extension as described in the “Installation” section.

Running tests

To run the tests, use the following command:

yarn vitest