Skip to content

EshwarAnad/unblock-with-intention

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

STATUS: WORK-IN-PROGRESS

In its current state this extension is only really usable by someone who wants to edit code to make it do what they want. In particular, there are no settings, even the list of sites to block is hardcoded.

Unblock with Intention

This is a simple browser extension which redirects away from distracting sites. It prompts you to provide an unblock justification and time interval. This way, you can briefly unblock as long as you have a constructive intention.

While blocking is paused, your intention is displayed at the bottom of the page:

The inspiration for this was using a site blocker and finding that I would disable it to do something constructive, but then neglect to re-enable it.

It is also extremely efficient, adding nearly 0 overhead to normal page loads, due to the clever approach in cirocosta's very simple site blocker, which this is forked from. See his post about the topic.

Usage

  1. Clone this repository
$ git clone https://github.com/mgsloan/unblock-with-intention
  1. Add your distraction sites to the url patterns in background.js and in manifest.json.

  2. Load the extension

  • Open chrome
  • Go to chrome://extensions
  • Enable the Developer mode toggle in the upper right corner
  • Press load unpacked extension and then select this repo

Consider making your own redirect page, and using that instead. The page this extension uses the current astronomy picture of the day as a background, and displays info about the blocked url. If you press the u key, then the unblock dialog will appear.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 88.9%
  • HTML 10.0%
  • Shell 1.1%