I really enjoyed LeechBlock on Firefox. It’s a great extension for those who are easily distracted. Sometimes if I need to do work that I really don’t want to, I turn it on and get my work done quickly, then get back to goofing around on reddit and digg and etc.
However, I couldn’t find anything like it on Google Chrome and Google Chrome has become my favorite browser. So, I decided to look at Chrome’s extensions API. To my unbelief, it was quiet simple. I’ve used HTML, JS and CSS before at work for apps I designed and implemented at work, so this had to be a piece of cake.
After a few hours of hammering at the keyboard, I made Concentrate. I designed it to be very easy to use because I give importance to usability. What good is a strong code when the UI is horrible? So here it is!
You can download and install Concentrate for Google Chrome here: bit.ly/bfBDdc
You can download the source by cloning the mercurial repository.
hg clone https://email@example.com/davydany/concentrate/
Adding to Blocklist
The first thing to do is add URLs that need to be blocked to the blocklist. Simply enter them into “URLs to Block” and press the “(+)” sign. If you need help, press the “(?)” button.
Starting the Timer
When you need Concentrate to start blocking the sites, enter how long you want Concentrate to block the sites in the the Hours and Minutes fields, and press “(>)”. Then press “Start Timer”.
You will see the timer count down, and any sites you try to visit will be closed and an error message will indicate that it has been blocked.
That’s it! Now, go on! Be productive!