No Procrastination Firefox and Chrome addons

12 points by jordinl ↗ HN
Hi there,

I've created Firefox and Chrome addons that allow you to block certain sites. For instance, you could block:

- google (this would mean www.google.com, mail.google.com, images.google.com,... are blocked)

- mail.google.com (only gmail)

- google.com/reader (only google reader)

If you wanna try the addons, the URLs are:

Firefox: https://addons.mozilla.org/en-US/firefox/addon/no-procrastination/

Chrome: https://chrome.google.com/webstore/detail/gigmkhkildapllnjbnkfgknkkjeohkmo

Let me know if you encounter any issues.

Thanks!

5 comments

[ 3.0 ms ] story [ 16.3 ms ] thread
Is there a way to block the page before loading? I see a (long) flash of the webpage before the block screen appears in chromium 11.0.696.68 (84545) Ubuntu 10.04

Otherwise, I like this plugin. I used to block websites via /etc/hosts, but it gets annoying having to jump into sudo and edit the file on my lunch, and sometimes, I forget to reenable it.

Like now.

There is a way, but I haven't found it yet... It is how they do it for AdBlock...
I used to have a bash script that would automatically comment out and uncomment lines in /etc/hosts (using sed, as I recall), as well as having an automatic timer so it would block access after ten minutes or so. Come to think of it, I could probably have also set it up so it would only run during certain blocks of time (it wasn't effective because it was too easy to run).

(It's probably predictable that my response to this was wondering why it's superior to host-file blocking).