A simple guide to use this extension for your chrome and how to customize it according to your need.
- First, clone the repository to your local machine:
git clone <repository-url>
- Navigate to the Project Directory
cd <project-directory>
- Open Google Chrome and type the url -
chrome://extensions
-
Make sure to enable the developer mode on the top right hand corner.
-
Click on Load Unpacked button on the top left hand side of your screen.
-
Select the cloned project repository and enable it.
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