Sep 1, 2009

How to be productive: temporary site blocks

I have a problem. And so do you.

I spend too much time on Facebook killing monsters and tending to my farm that I've become unproductive. I spend too much time tweeting about inane things (E.g. "My jeans smell", "I forgot to rinse the shampoo off my head again" or "I am awesome") that I've become less efficient. I spend too much time on forums reading things from idiots who can only say nice things about Sammi Cheng, and would rather die than to admit that Sammi Cheng is/was fat.
Think about it some more and you'll realize just how many hours of your life you've wasted away, when you could be doing something much more worthwhile. Like picking your nose.




What I've got today is a script that would block websites of your choice until a certain time of day when you can use it without feeling guilty. This isn't a parental block program but rather a self-induced barrier between you and Facebook (for example). The script's called Invisibility Cloak, developed by Gina Trapani from Lifehacker.

You need Greasemonkey and Firefox installed for this to work.

Click to install Invisibility Cloak script

By default, it has flickr and metafilter blocked and the release time set at 3pm. Release time being the time when all blocked sites are unblocked.
Quite simply, this script "cloaks" the site until 3pm when work is almost over and you feel you can relax.

The release time can be changed: "var surf_time_after = 15;" with 15 being 3pm. Like military time. The cloak is off on weekends. You can see from the picture above, I've changed mine to unblock at 4pm.

To change the release time (after installing the script), Tools > Greasemonkey > Manage User Scripts > Invisibility Cloak > Edit (beside the "Enabled" checkbox) > If it asks you to pick a text editor, go to C:\Windows\notepad.exe > Look for "var surf_time_after = 15;" and change the time accordingly > Save.

To add pages to the block list, Tools > Greasemonkey > Manage User Scripts > Invisibility Cloak > Included pages > Add.
The asterisks (*) are wildcards, in case you didn't know. E.g. http://*.cheahwey.net/ means all subdomains from this site will be blocked, like mobile.cheahwey.net as well as www.cheahwey.net.

7 comments:

taipau said...

so when does it re lock after it unlocks?

cheahwey said...

i tried it yesterday and it started blocking again at 12am, the next day. I'm trying to figure out how to make it lock at a later time.

Deng, the very eveel genius said...

I'm thinking NTU. Exchange programme. I've found two marketing subjects and one Net subject. Net won't be Net studies but more towards Net design kinda thing. And they don't offer Japanese or any other lanugage except for Chinese and English. They do offer Japanese actually but it's level 3. I can't find level 1 anywhere in the site.

cheahwey said...

The exchange program is supposed to be off.

taipau said...

hwey! u know bout the cow head protester shit?

if u dunno heres the link to show wat happened.

http://www.youtube.com/watch?v=ytAkNMyGd1M

and if u noe already here is wat the empty headed hisham hav to say bout it.

http://www.themalaysianinsider.com/index.php/malaysia/36672-hisham-defends-cow-head-protestors

cheahwey said...

Thanks for the links. I feel a rant coming on.

taipau said...

=)