Skip to content

Suj4LB/custom-chrome-adblocker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Project Setup Instructions

A simple guide to use this extension for your chrome and how to customize it according to your need.

  1. First, clone the repository to your local machine:
git clone <repository-url>
  1. Navigate to the Project Directory
cd <project-directory>
  1. Open Google Chrome and type the url -
chrome://extensions
  1. Make sure to enable the developer mode on the top right hand corner.

  2. Click on Load Unpacked button on the top left hand side of your screen.

  3. Select the cloned project repository and enable it.

Customization Instructions

In the background.js file, reach to the commented code -

    // Add your own URLs to block here - 
    // {
    //     "id": serial_id_number, // here you can add the serial number in sequential manner 
    //     "priority": 1,
    //     "action": { "type": "block" },
    //     "condition": { "urlFilter": "*://*.your_url/*", "resourceTypes": ["script", "image", "xmlhttprequest"] }  // Replace the "your_url" with the URL of the website you wish to add 
    // }
    (Make sure to only include the website name and the domain extension) eg. - facebook.com

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published