An open API service indexing awesome lists of open source software.

https://github.com/ewliang/distractmenot-chrome-extension

DistractMeNot is a basic productivity Chrome Extension that allows users to input a list of site(s) they wish to not distract them while surfing the internet. From the URLs submitted to the plugin, it will then actively keep a lookout for the URLs. If the URLs are detected, the extension will automatically close the tab or window.
https://github.com/ewliang/distractmenot-chrome-extension

chrome-extension css css3 google-chrome-extension html html5 javascript parental-control-tool plugin productivity productivity-app productivity-tool time-management vanilla-javascript

Last synced: 4 months ago
JSON representation

DistractMeNot is a basic productivity Chrome Extension that allows users to input a list of site(s) they wish to not distract them while surfing the internet. From the URLs submitted to the plugin, it will then actively keep a lookout for the URLs. If the URLs are detected, the extension will automatically close the tab or window.

Awesome Lists containing this project

README

        

# DistractMeNot-Chrome-Extension
A basic productivity Chrome Extension that allows users to input a list of site(s) they wish to not distract them while surfing the internet. From the URLs submitted to the plugin, it will then actively keep a lookout for the URLs. If the URLs are detected, the extension will automatically close the tab or window.

![](https://www.eric-liang.com/_nuxt/img/distractmenot-chrome-extension-design.1492eaf.jpg)

# Table of Contents
- [Features](#features)
- [Why I Made This](#why-i-made-this)
- [Author](#author)
- [Repository](#repository)
- [Requirements](#requirements)
- [How to Use](#how-to-use)
+ [End User](#end-user)
+ [Developer](#developer)
- [License](#license)

# Features
- Multiple URL blacklisting
- Automatic blacklisted URLs tab detection and removal (closing tabs)
- Data persists on next browser window session

# Why I Made This
I made it because I find myself wasting time on some sites sometimes on a daily basis, and I wanted a free, lightweight tool to automatically close the windows for me whenever I visit those sites (e.g. Discord, Agar.io, etc.) without having to permanently block those sites via parental control tools. I'm confident enough to have enough self discipline where I won't need a lock mechanism on this plugin so I kept it simple.

# Author
**Eric Liang**
- Website: [https://www.eric-liang.com](https://www.eric-liang.com)
- Github: [https://www.github.com/ewliang](https://www.github.com/ewliang)

# Repository
- Github [https://github.com/ewliang/DistractMeNot-Chrome-Extension](https://github.com/ewliang/DistractMeNot-Chrome-Extension)
- Clone Link [https://github.com/ewliang/DistractMeNot-Chrome-Extension.git](https://github.com/ewliang/DistractMeNot-Chrome-Extension.git)

# Requirements
- Google Chrome Browser

# How to Use
## End User
1. Install it.
2. Click on the DistractMeNot logo located on your browser.
3. Enter 1 URL at a time into the input box while pressing [Enter] after each entry or clicking the "Add" button.
4. Once you make a new tab or make updates to any tabs, the program will start running.
5. The next time you restart your browser, any URLs entered from the previous session will be automatically loaded in since they're stored in your browser's localStorage.
6. Just keep on browsing productively as usual! If you want more URLs to blacklist, just repeat Step 3.

## Developer
1. Make a clone of this project, unzipped.
2. Open Chrome Browser
3. In a new or blank tab, type in "chrome://extensions/" (without the quotes of course) and click [Enter].
4. At the top right corner of the page, **enable** "Developer Mode"
5. Click the button on the page that says "Load Unpacked"
6. Navigate to your unzipped project folder and select that and hit OK.
7. You are now ready to start working on the extension! Just make sure you reload after each change you make to see the changes take place.

# License
MIT License
Please refer to License.md for more details.