GithubHelp home page GithubHelp logo

ewliang / distractmenot-chrome-extension Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 40 KB

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.

License: MIT License

HTML 22.72% JavaScript 60.50% CSS 16.78%
html html5 css google-chrome-extension chrome-extension productivity productivity-app productivity-tool parental-control-tool time-management css3 javascript vanilla-javascript plugin

distractmenot-chrome-extension's Introduction

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.

Table of Contents

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

Repository

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.

distractmenot-chrome-extension's People

Contributors

ewliang avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.