Stay focused and efficient while browsing the web. A simple Chrome extension that helps you stay productive by blocking distracting websites during specific times. Control your browsing habits and stay focused on what matters!
Before getting started, ensure you have the following installed:
- Clone the repository:
git clone https://github.com/imseanconroy/blocklist.git
cd blocklist
- Install dependencies:
Inside the project directory, run:
npm install
- Build the extension:
Use the following command to build the project with Webpack:
npm run build
This will generate the required files in the dist/
folder.
- Open Chrome and navigate to
chrome://extensions/
. - Enable Developer mode (toggle in the top right corner).
- Click Load unpacked and select the
dist/
folder created from the build step. - The extension is now loaded and ready to be configured!
- Click the extension icon in your browser to open the settings page.
- Add the websites you want to block and specify the time range during which you want them blocked.
- Save your settings, and the extension will handle the rest!
To make modifications and see changes in real-time:
- Run the following command to watch for changes and rebuild automatically:
npm run watch
- Reload the extension in Chrome by going to
chrome://extensions/
and clicking the reload button next to the extension.
Use the following command to run all tests:
npm run test
- Block specific websites during designated hours.
- Customizable time intervals for each blocked website.
- Simple interface to manage your blocked sites and schedule.
- Lightweight and efficient to keep your browser running smoothly.
This project is Distributed under the MIT License - see the LICENSE file for information.
If you are having problems, please let me know by raising a new issue.