How to block websites that kill your productivity.
Yesterday I wasted about an hour of good time on Facebook. And worse, I found that even when I'd started doing productive work, I kept shifting back to facebook and wasting more of my time. I can't say that I gained anything out of this effort. It was a dead loss. So today, i removed it from my life, in a single step.
Sites like facebook are such effective time-wasters because they relax the 'executive brain'-- the centre responsible for focused decision making, and leave you at the mercy of your impulses and compulsions. Much like watching reality tv shows, or being the subject of hypnosis.
Many of us spend a lot of our time with the 'executive brain' switched off. We become volunatry zombies. Let's say that again, in big writing:
We Are Voluntary Zombies!!
In order to delete Facebook, i opened this file:
and I added this line:
Now when I go to facebook.com, it gets routed to
0.0.0.0 and the browser shows '
Connection closed by remote server'
I can bring it back of course, by deliberately unblocking the site.
But the key word is 'deliberate'. Giving in to temptation is not usually a deliberate act.
When given the chance to deliberate, i'll need to engage my 'executive brain', and one of two things will happen:
- I'll decide i don't really want to visit facebook, or
- I'll visit it briefly and conscientiously, then re-block it afterwards.
(note, to unblock it, just add a comment symbol, '
#' to the front of that line in the hosts file)
And, at the risk of being tarred, feathered, shot, drawn, hung, quartered and teased -- i only realised I was wasting time at that site because of the concerned intervention of my good and discounted friend, TimeSnapper. Thanks ts for stepping in where others didn't dare!
I'm using TimeSnapper more every day. For monitoring, understanding, accounting, timesheeting... there's so many ways to benefit (yeh, and more to come of course. we never rest... we're like that terminator guy in that movie, what was it? terminator).
Anyway, I block whatever sites I feel I ought to, and I've got some half-formed ideas about a toy to automate the blocking and temporary unblocking. Do you see a need?
I do like some things about facebook: I'm back in contact with people I knew in primary school. This is excellent. I've got slightly better contact with friends of old i wanted to catch up with. If you read this blog, track me down and add me -- i'll sign in briefly and periodically. But mostly all the potential is wasted. Will i really catch up with ned for those beers? i'm afraid i might not. maybe the best possible life would be one where i acknowledge that neither me or ned have time for 237 close friends... and just get on with being good friends to the twenty or so friends we really deserve? i can't help but hear that robot voice from radiohead's OK Computer mockingly begging
"keep in contact with old friends..."
Regarding the 'executive brain' -- my own executive brain told me not to waste time researching the best possible link for this topic. I get this concept from lectures i've listened to via a podcast called 'All in the mind' -- but i don't think it's quite the same as that spoken of in the book 'the executive brain'. Also, i'm a little perturbed by the idea that maybe by some definitions it's the executive brain that allows us to visit sites like facebook in the first place. It may be that the so-called 'executive' portion of our mind allows us to ignore other voices that say 'danger! timewaster! real work pending!'
And I recognise that most 'executives' i've known are the most un-inspired, un-productive timewasters of all.
Then again, Charles Darwin published nothing for twenty years as he pondered evolution. I guess we're lucky he wasn't spending the timing joining groups on facebook.
'Chris' on Fri, 19 Oct 2007 15:43:41 GMT, sez:
Yep, I see a need!
But make it scheduleable -- block my Facebook/Digg/Pownce/whatever access during my defined work hours, for instance, would be very nifty...
'Kyralessa' on Fri, 19 Oct 2007 17:05:13 GMT, sez:
A while back I read a good book called Block that talks about how to resolve that kind of thing...for those whose problems aren't as easy to fix as just modifying the hosts file:
'mike' on Sat, 20 Oct 2007 04:53:53 GMT, sez:
Where does "reading blogs" fit into this picture? :-)
'Matthew Martin' on Sat, 20 Oct 2007 12:01:26 GMT, sez:
I actually do the same thing to avoid goofing off at work, which can be challenging if it is a slow work day. Host file work until...it gets easier it to switch/edit the hosts file. Right now I have a batch file that makes the switch from a goof to work-mode (fun sites point to 0.0.0.0) host file. The batch file made goofing off worse. I haven't tried it but I got the idea reading this--a scheduled task that would put the host file back to the work file every 15 or so minutes. Even better would be some spurious steps like a password or a 5 minute wait before the switch happens.
'lb' on Sat, 20 Oct 2007 12:06:47 GMT, sez:
good stuff matthew.
i was thinking about this today. what if instead of 0.0.0.0 we used a 127.0.0.1, where a local website is running that says
"Do you really want to access [facebook]?
For 1 minute, 5 minutes or 10?"
and there's a captcha code you have to type in -- a longer amount of time requires a longer captcha code.
And there's charts showing you how often you goof off.
'Farmer Jeb' on Mon, 22 Oct 2007 00:59:10 GMT, sez:
Cripes, are you lot the sort of people that set your watch fast so you don't run late? Why do you have to trick yourself by fudging your own hosts file? Just don't fuck around with shit when you're on work time! Of course I have the "advantage" of an employer that always knows what I'm doing on work time and kicks my arse if it's not work. Very motivating. Shit! It's 12:58 - I'm off this now!!
'Andrew' on Mon, 22 Oct 2007 06:57:17 GMT, sez:
I'm liking the scheduled task idea - good one.
Surely there must be an easier way though? I'd pay good money for some mISV to stop me arsing about when I'm supposed to be working! (HINT. HINT)
'ben' on Mon, 22 Oct 2007 15:35:41 GMT, sez:
Yes, i see a need! I was looking for an app that did this a few months back.
'Matt Warren' on Tue, 30 Oct 2007 09:19:59 GMT, sez:
If any of you are using firefox, you can install the "Grease Monkey" add-on https://addons.mozilla.org/en-US/firefox/addon/748 and the "invisibility cloak" script to do this for you. See http://lifehacker.com/software/greasemonkey/invisibility-cloak-update-149252.php for more details. If support wildcards and you can time-limit it.a
'donotdisturb' on Tue, 13 Nov 2007 17:36:42 GMT, sez:
we came across this conversation just yesterday. We have built an application just for this purpose try it out at www.seeplain.com/donotdisturb.htm apologies for the deliberate plug ..BUT I thought you guys might be interested...
'Joseph Kirk' on Sat, 17 Nov 2007 21:51:40 GMT, sez:
If I recive an notification from hotmail informing me I have an email from facebook, will the link still take me there?
'Darnell Fishback' on Mon, 19 Nov 2007 16:53:34 GMT, sez:
i love this site
'Ned' on Sun, 25 Nov 2007 14:16:52 GMT, sez:
I see how you feel. Drinks are off then.
'Gery' on Sun, 27 Jan 2008 21:48:51 GMT, sez:
i used that host thingi i did everything right but stil some websites r not blocked i dont know y plz help tanx
'yesenia' on Fri, 01 Feb 2008 20:07:33 GMT, sez:
ok can sumone plz tell me how to block a page i dot really get how u guys block them well im trying to block this page call unblockpoint.com because i went on at school and it took me to myspace and stuff like that but then every body saw me get on it and now want to block it because every body is getting on it now i want to block it plz plz plz tell me how to block and tell me a easy way to do it at skool
'puzzled' on Wed, 26 Mar 2008 13:07:29 GMT, sez:
How on earth do you get there? What is it? Not all of us are computer buffs...
'Gareth the lisp weenie' on Wed, 26 Mar 2008 20:53:20 GMT, sez:
>How on earth do you get there?
if you don't know how to find this file then maybe you shouldn't be messing with your hosts file.
but you can open notepad (under accessories) and choose open file. Then paste "C:\WINDOWS\system32\drivers\etc\hosts" into the name of the file to open.
Hopefully though you won't have permission to do this and the computer will stop you before you truly harm yourself.
'Michael' on Sat, 26 Apr 2008 08:41:52 GMT, sez:
Bolcking IPs via host files may not be effective. There are always free proxies out there.
Better solution is to block on occurance of "facebook" or "myspace" keyword in the URL. This can be done with third party software such as Website Block from Ashkon.com
'jimbo7' on Sat, 26 Apr 2008 22:48:58 GMT, sez:
an even better way to block FB within linux would be to configure IPTABLES to block sending data to the facebook servers at the IP address level (use dig or ping to find these out).
eg my firewall script contains the following lines:
iptables -A OUTPUT -d 18.104.22.168 -j DROP
iptables -A OUTPUT -d 22.214.171.124 -j DROP
iptables -A OUTPUT -d 126.96.36.199 -j DROP
iptables -A OUTPUT -d 188.8.131.52 -j DROP
'Block Internet' on Mon, 28 Apr 2008 01:31:41 GMT, sez:
Our company is using WFilter to monitor, filter and block internet access.
It is very easy to block websites.
'Anonymous' on Wed, 30 Apr 2008 00:31:00 GMT, sez:
Thanks for putting this up.
I know nothing about simple fixes like this, and this definitely helps me from 'cyber stalking' people.
On a slightly related note, someone I know said I was trying to commit 'Zuckercide' by not being as active on Facebook. Stupid bastard.
'maiyoora' on Sat, 13 Sep 2008 04:15:42 GMT, sez:
'buzzberger' on Thu, 13 Nov 2008 14:14:41 GMT, sez:
This worked fine until the little SOB found the notepad file. Now he switches it on and off when I'm not around. Got any ideas on how to block access to that file...can I password protect it? Hope you can help me out.Thanks
'The Mikeness' on Thu, 27 Nov 2008 16:09:37 GMT, sez:
most routers have time restrictions and domain name blocking capabilities now, if you're gonna be using the HOSTS file, I also would suggest using these if applicable.
If you have a wireless network for laptops it makes sense to have the same blocks on your wired and wireless networks, hint hint.
'The Mikeness' on Thu, 27 Nov 2008 16:13:12 GMT, sez:
As for restricting access to the file, non-admin users shouldnt be able to modify this file, so if you can take away their admin access that would prevent someone from tampering with it.
If you have Active Directory on the system you have more fine grained control, like you could make the domain admin user(s) be the only ones with write access to the file, and other admins or power users, etc, have no access.
'mi' on Tue, 13 Jan 2009 12:01:58 GMT, sez:
how do you get the hosts file able to edit?
I saw that the etc folder and therefore its subsidiary files - in this case , the hosts file - are read only. I changed the attribute of the etc folder to not be read only, but it did not stick. I am the administrator of the computer. pls advise w/o editorial comment. thanks
'lb' on Tue, 13 Jan 2009 17:18:19 GMT, sez:
the trick is to copy the file to another location, change it there, and then copy it back to the "etc" folder. (you'll get prompted to confirm at that point)
'Sue' on Mon, 23 Feb 2009 01:01:45 GMT, sez:
Ok so I've done this, but how do I unblock if I want to? Where do I put the #???
'tony' on Sat, 28 Feb 2009 02:21:45 GMT, sez:
@Sue: you put the # sign at the beginning of the line you want to have ignored.
'MOM' on Mon, 23 Mar 2009 21:29:33 GMT, sez:
I have doe this in the past and it worked, but it no longer seems to work. I want to use it to block access to runescape until my son;s homework is done.
Also, was able to block facebook but not both at once. I'd be willing to buy software if I knew it would work..
'fatima' on Fri, 03 Apr 2009 00:31:58 GMT, sez:
The tip doesn't seem to work for me. What did I do wrong? The checked the notepad and it's not "read-only."
START >> RUN
SAVE >> EXIT
Please help. Thank you.
'lb' on Fri, 03 Apr 2009 01:31:39 GMT, sez:
notepad, by default, will add a ".txt" extension onto a file.
So it may have saved the file as
You need to rename that file to:
(i.e., remove the extension)
'Rosanna' on Wed, 15 Apr 2009 21:26:25 GMT, sez:
This is so EASY really, you don't have to fiddle about with code or system files. You can literally go to your internet options and add facebook to the "blocked content" list. If you are using Opera, like me, this does not work but you can easily go to:
"Tools > Advanced > Blocked Content" in the browser and simply add it to that list.
Using some sort of time delay would be pretty useless-either have some self control or just unblock it when your finished working.
You guys are over-complicating things, if you're that bothered, LEAVE THE DAMN SITE!!
'sheena' on Sat, 02 May 2009 14:31:35 GMT, sez:
hey...thanks a lot.!!
this helped me a lot...
i have my exams starting day after and facebook (especially that wicked Texas hold em poker) was swallowing my time...thanks to this 5 step guideline of yours...I have successfully casted fb outta my exam-period life!
'chris' on Sun, 24 May 2009 06:09:08 GMT, sez:
Hope you won't regard this as spam, but I was researching the 'block facebook' keyword for my site: and PIC-PC can block Facebook at certain times, or impose time limit. Categorises the web page by page title, so can be used on any web site, not just Facebook.
OK, it's aimed at kids, but could work for the willpower challenged...
'http://' on Wed, 10 Jun 2009 09:00:42 GMT, sez:
In order to delete Facebook, i opened this file:
and I added this line:
Now when I go to facebook.com, it gets routed to 0.0.0.0 and the browser shows 'Connection closed by remote server'
I can bring it back of course, by deliberately unblocking the site.
hi i have tried this but i can go as far as sys 32 there is no host file in there ???
'cosme' on Tue, 23 Jun 2009 12:23:02 GMT, sez:
hi there, i tried the solution and it works well for one website, but when you want to block several websites it doesnt work, i tried to assign 0.0.0.0 to all the sites, but no result. also, different sequences like 0.0.0.1 or 00.0.0.0 etcany suggestions??
'talia' on Sat, 11 Jul 2009 09:23:31 GMT, sez:
it works fine,
i've blocked myspace and facebook.
'Evolution is fake' on Wed, 22 Jul 2009 02:31:29 GMT, sez:
LOL @ charles darwin!
'Alan' on Mon, 27 Jul 2009 10:41:27 GMT, sez:
lol, this is a big problemm so ive designed some software for it! www.facebookblocker.co.uk
It works in a few ways, host files, keyword filtering and packet filtering so ensure that ur urges do not get the better of you!
It can block any web site and there will be a free version for individuals who want to control facebook urges at different times of the day :)
'Kris' on Wed, 29 Jul 2009 10:00:01 GMT, sez:
Unfortunately it's a firefox only thing but Leechblock does this for you in a pretty elegant way.
'Jen Moran' on Tue, 11 Aug 2009 22:22:13 GMT, sez:
how can we block a site for only one account on an xp computer?
'Brett' on Thu, 20 Aug 2009 18:44:12 GMT, sez:
Try Hidetools Parental Control from http://hidetools.coméparentalcontrol.html to block website. it allow to block only selected accounts.
'Brett' on Thu, 20 Aug 2009 18:46:20 GMT, sez:
Sorry, from http://hidetools.com/parentalcontrol.html
'nisa dar' on Sun, 06 Sep 2009 23:37:33 GMT, sez:
how can i block facebook on mac? i use safari.
'ZAza' on Fri, 11 Sep 2009 08:24:59 GMT, sez:
Thanks this is very useful for my small company...
'Alex' on Sun, 13 Sep 2009 01:22:28 GMT, sez:
Our Facebook has just been blocked by our manager! Everytime we go to any of the facebook sites including all subdomains and all proxies it just forwards to:
this is painful!
'george' on Wed, 23 Sep 2009 18:46:16 GMT, sez:
the C:\WINDOWS\system32\drivers\etc\hosts actually works, but about myspace does it works the same way
'jano' on Thu, 29 Oct 2009 07:02:52 GMT, sez:
This is not very good solution. If you use this, you block just a DNS name. But if somebody write in IE IP adress of facebook e.g. 184.108.40.206 and facebook work again. Lots of workers have friends which know this.
'John' on Mon, 02 Nov 2009 13:23:58 GMT, sez:
The description here is a easy way to block facebook from any website the problem is how do you tell a non techie how do to this which has been the biggest problem. There is always a high tech nerdy way to block facebook but the majority of the population are going to have problems. I recommend this product to my friends since I always get a ridiculous big headahe trying to explain to people how to do the high tech techie way of blocking facebook. use this software and its is only $2 to block facebook. www.facebookblocker.com For $2 it is worth it since my friends won't spend up to a hour trying to explain to them how to do it since they always seem to be confused since its not facebook. Facebook Blocker is the cheapest software out there to do a quick block with out any technical knowledge since I research since I am the head IT person in my company and everyone wants to block facebook on there home computers because of there kids addiction.
'Evolution is fake!' on Sat, 07 Nov 2009 03:36:44 GMT, sez:
Yes, Evolution is FAKE!
Even Charles Darwin recanted evolution before he died.
'jodete' on Sun, 08 Nov 2009 13:39:10 GMT, sez:
To Block Ocial Networks:
'Siddesh' on Fri, 04 Dec 2009 21:33:07 GMT, sez:
thank you so much...hopefully should be able to study better now :P
'Incredible' on Mon, 21 Dec 2009 04:57:57 GMT, sez:
Just remeber that 0.0.0.0 are numbers and not the letter 'o'
'Oqi' on Tue, 29 Dec 2009 18:35:57 GMT, sez:
Bare in mind, that one can still visit facebook by typing
Each of the sites must be blocked, even so... the Host File does not exactly "block" the website, but rather redirects the command to the local host or elsewhere.
If www.facebook.com line was added the hosts file, and I googled lets say "Facebook" and clicked on one of the results... I can still login.
Hosts isnt a permanant fix, only to those that use a computer and dont know the existance of search engines (Google.com etc...)
'Darwin' on Sat, 02 Jan 2010 18:22:31 GMT, sez:
Oqi.. you are wrong. You need to add this line
Now with that entered any user who tries to go to login.facebook.com or any -----.facebook.com will be redirected to 0.0.0.0
Be sure to block the lite version of the website as well.
'killer' on Tue, 12 Jan 2010 07:41:39 GMT, sez:
they dont work!!!!
'killer' on Tue, 12 Jan 2010 07:42:56 GMT, sez:
how u get on facebook??
'Marcus12' on Sun, 17 Jan 2010 23:46:55 GMT, sez:
THANKS - I did this a while ago on my home computer for a couple forums where I tended to go off on political-based rants, usually after a few beers... sounds stupid but the relief of not having to wake up the next day and deal with the results of my ranting made it worth it, sometimes selfcontrol benefits from a little forethought and support. Anyway I never thanked you before coz I had just blocked them, but six months in its turned out real useful!
'linz' on Mon, 25 Jan 2010 21:58:14 GMT, sez:
Gee thanks everyone.... my mom blocked facebook from me.... anyway to get it back on?
'rawr' on Thu, 28 Jan 2010 23:24:41 GMT, sez:
heheh, i know how to get around this blocker =D gotta try harder than that
'Rebecca' on Sun, 31 Jan 2010 08:05:46 GMT, sez:
I find if I sign into Facebook first thing in the morning, my day is shot. I work from home and normally resort to going and working at the public library if I'm desperate.
Just used Leechblocker for 9-5.30 Mon-Fri. Please let me have some self control to keep it on there!
'Libra_Man1' on Thu, 11 Feb 2010 01:58:58 GMT, sez:
Can anyone tell me how to edit the Hosts file. I opened the file with notepad, added the line and saved. It did not block facebook. Am I doing something wrong. Should I edit the hosts file with a special program or editor? Please help. Thanks.
'jack' on Tue, 02 Mar 2010 12:43:27 GMT, sez:
just add facebook to your "restricted sites" in the internet options, security tab. if you're using IE. It can't work without cookies.
'Muhammad Hamad' on Thu, 20 May 2010 04:24:09 GMT, sez:
Thanks For Your Help
'Web Backlinks. Quality Backlinks' on Sat, 22 May 2010 06:32:32 GMT, sez:
LOL. I agree with you, Facebook is a time waster. I even wrote a short blog about it but I still keep going back!
Check out my article here:
'Haroon Hayat' on Sat, 22 May 2010 09:02:29 GMT, sez:
Thanks Dear. i really needed this type of help............. thank you very much
'Haroon Hayat' on Sat, 22 May 2010 09:03:50 GMT, sez:
thanks dear. i really need it. . thank you very much.for a great post............
'Ali' on Sat, 29 May 2010 20:01:09 GMT, sez:
chidren go on it
'Amber' on Tue, 01 Jun 2010 14:45:34 GMT, sez:
Thanks for this..Facebook has caused nothing but problems for me.. first of all I fight with everyone so it's doing more damage to my relationships than good. There's a lot of people I just want to disappear from so they can forget about me. I hope this works!!
'http://' on Sat, 03 Jul 2010 00:00:15 GMT, sez:
'terryo' on Tue, 06 Jul 2010 13:32:52 GMT, sez:
down load this freeware and run the exe
Type the name of the website to block . It will automatically add the file in host file with 127.0.0.1 map
'ralph' on Mon, 12 Jul 2010 21:25:13 GMT, sez:
Is their a way to put a time limit on a website for example you can only use myspace for about 1 hour a day.
'Christina' on Sun, 19 Sep 2010 05:10:38 GMT, sez:
I hope someone makes an application that would make it easy to block certain sites and only allowing a specified allotted amount per hour because it would greatly improve productivity.
'don't click here' on Sat, 25 Sep 2010 02:52:32 GMT, sez:
Want to block Facebook at work?
This software http://www.timedoctor.com/1 is better than blocking Facebook as it only monitors Facebook in work hours. Team members still can use Facebook when on lunch. Also some employees must use Facebook for their work so it's silly to just indiscriminately block it.
'Dragon' on Sat, 25 Sep 2010 21:45:34 GMT, sez:
Not all of this is about the SITE itself. It's about trying to BLOCK the websites from CHILDREN or PEOPLE YOU DON'T WANT TO HAVE ACCESS TO IT. Kids are VERY resourceful, and they can EASILY delete the website in "Blocked", then re-add it later on.
Plus, some people are trying to BLOCK the site from appearing on OTHER sites.
'Nicollepetersen' on Sun, 26 Sep 2010 09:32:21 GMT, sez:
Whether an application is blocked or not, self-control comes from within
Ive been using http://bit.ly/bJwmma .
It uses a better method than blocking social media sites because it only monitors sites like Facebook during production hours. People/Employees still have the option to use it for a breather or during breaks .
Sometimes they use it for work too in helping reach decisions. For me its really unnecessary to block Facebook.
'colourstt' on Mon, 27 Sep 2010 16:29:36 GMT, sez:
i would like to unblock facebook.
however i tried to go into the host file but its unreadable...cani get some help please, thanks...
'guiller' on Fri, 01 Oct 2010 16:21:41 GMT, sez:
hey i'll just type this in my notepad? C:\WINDOWS\system32\drivers\etc\hosts 0.0.0.0 www.facebook.com? then i'll save it as .bat?
'loudgi' on Tue, 05 Oct 2010 15:54:06 GMT, sez:
Ok, but when you use this url: https://www.facebook.com enjoy !!
this method :
iptables -I INPUT -i <interface> -s 192.168.3.93 -d 220.127.116.11/20 -j REJECT
iptables -A OUTPUT -d 18.104.22.168 -j DROP
iptables -A OUTPUT -d 22.214.171.124 -j DROP
iptables -A OUTPUT -d 126.96.36.199 -j DROP
iptables -A OUTPUT -d 188.8.131.52 -j DROP
or this method don't work, but why ?
I'm french, sorry for my english
'bubba' on Sun, 10 Oct 2010 16:23:26 GMT, sez:
does not work. facebook has so many back doors that you cannot block it.
'Snappyurls' on Wed, 13 Oct 2010 14:06:54 GMT, sez:
I like this info. I have written a script here that will block facebook via restricted sites in IE 6 / 7 /8 and also block facebook via the host file. It works really well and its in a vbs script, <a href="http://snappyurls.com/blog/2010/10/13/block-facebook-access-local-pc/">block facebook here</a>
'Kumar' on Mon, 18 Oct 2010 06:53:35 GMT, sez:
How we can block in mac os. please help. thanks.
'Ljupco' on Fri, 22 Oct 2010 07:14:38 GMT, sez:
I have succesfully blocked facebook and other sites by modifying the host file, but just recently I decided to create several separate accounts on the machine, which is running XP Pro SP 3 by the way, and I made myself the administrator. Now whenever I try to accses any of the blocked sites, firefox opens them right away, they are not blocked anymore. I opened he host file with my administrator account and all the info is still there, but apparently it's not working and I guess something changed when I added those accounts.
Anyway what do I do now so as to get the sites blocked again ?
'Kiril' on Wed, 27 Oct 2010 11:56:42 GMT, sez:
You can block access to facebook and youtube with application called facebook limiter.
Works great for me. http://www.facebooklimiter.com
'anon' on Thu, 28 Oct 2010 05:49:50 GMT, sez:
right on Nicollepetersen This should be used as an exercise in denying impulsion/compulsions. if they would MAKE themselves not spend too much time on these things, and redirect their efforts elsewhere- it will become part of their nature and they will be more productive! it's like when in a checkout line and being impatient because someone writes a check and doesn't fill it out first. if you tell yourself the delay happened so you don't get wrecked while pulling from the parking lot- it becomes easier. I have practiced these sort of techniques for years, and it has helped immensely. I found this page, as a business that provides support services, while searching for a recommended block list to increase productivity for my clients. I just had to drop my 3 cents... if these folks are having issues, especially on personal time, what happens when they are at work?? They get paid to play... I'm the one my clients look to so they can thwart this behavior....at least i get paid for it- but in a remediation sort of way.....lol
'mili' on Sat, 06 Nov 2010 19:59:09 GMT, sez:
'Jim' on Wed, 10 Nov 2010 00:30:20 GMT, sez:
I blocked facebook, myspace, etc by
updating the settings in my router.
It shuts off access to the above sites by full block, time of day block or using a window of time.
'Mike' on Thu, 11 Nov 2010 18:15:08 GMT, sez:
Kiril thanks for the link on Facebook Limiter software. It saves me trouble of learning how to setup my router and how to save hosts file under Vista.
'Joshua' on Wed, 17 Nov 2010 21:38:35 GMT, sez:
It won't let me add www.youtube.com as well!
Any idea why?
'College student' on Sat, 20 Nov 2010 20:44:54 GMT, sez:
Thanks to 'jack'. On Firefox there was no obvious choice but when you mentioned cookies I blocked cookies from FB and tried logging in and the log-in page just refreshed. AWESOME :D
'Hu' on Tue, 23 Nov 2010 16:33:22 GMT, sez:
In my case, I been blocking facebook.com in pfsense server through squid. Although it is working perfectly but some users have found a way out by accessing the same url with https in place of http. To solve the problem I need to block https www.facebook.com in firewall rules and its working properly. Here is the simple tutorial on how to do it.
'Catarino' on Mon, 13 Dec 2010 10:34:37 GMT, sez:
# 127.0.0.1 localhost
# ::1 localhost
'Block facebook' on Fri, 17 Dec 2010 11:54:31 GMT, sez:
I am using FB Limiter application to block facebook and i would recommend it to everyone. The thing i was not able to do with other solutions is to block facebook during specific time periods. Just check www.facebooklimiter.com it might help you to block facebook.
'DWAI' on Wed, 29 Dec 2010 06:18:36 GMT, sez:
I dont get it... how do you add something to the hosts file? i want to delete facebook. but dont undersstand how you do that.
'Phil' on Sun, 16 Jan 2011 06:01:45 GMT, sez:
Nice little tutorial.
If you guys ever want to the real leap and PERMANENTLY block your computer from Facebook, there's a cool little program called BlockFB that will make that happen. Checkout http://www.blockfb.com
'Crank' on Fri, 04 Feb 2011 00:37:18 GMT, sez:
You can block facebook with tool FBBlock
'Block Facebook' on Fri, 04 Feb 2011 00:38:49 GMT, sez:
FBBlock works great.
Thanks a lot
'Cheva' on Wed, 16 Feb 2011 16:37:19 GMT, sez:
IMHO, I think using hosts file to block are useless, since we can't use wildcard "*" one other way to break your block is to put an extra "www." so it will go like this www.www.facebook.com and if you put the extra "www." on the hosts file then we only need to put another "www." so just put www.www.www.facebook.com and voila I haven't tried to block it with 10 "www." but I think it goes infinite, that is why I said without the wildcard, its useless.
'Rose' on Fri, 18 Feb 2011 21:48:14 GMT, sez:
Thank you so much for this post. It works a merveille.
'larry the zombie' on Thu, 03 Mar 2011 16:48:21 GMT, sez:
Have not started with facebook, don't care for user policies.
Thank you for posting this about the local hosts file, it's a great self-discipline reminder.
'Nantha' on Tue, 15 Mar 2011 03:19:50 GMT, sez:
If we block is from the host file...its still go though via https tunnel....once you have added 0.0.0.0 www.facebook.com
try to browse using this url:
https://www.facebook.com its still can bypass the host file. pls mail me for further info firstname.lastname@example.org
'James' on Tue, 22 Mar 2011 22:05:18 GMT, sez:
This is a great article! I have also found this program to be useful if you're on Windows. It's called StopDistractions and lets you block distracting websites like Facebook and Twitter!
Worth a download!
'farhad ahmadi' on Sun, 03 Apr 2011 15:12:14 GMT, sez:
fk u facebook
'farhad' on Sun, 03 Apr 2011 15:13:57 GMT, sez:
ill fuk u
'seema deokaran' on Thu, 07 Apr 2011 13:34:39 GMT, sez:
i am so sad, facebook is blocked on my laptop and i have not entered facebook for about 5 months now,i am trying to get a way to unblock facebook,but nothing seems to work.
'facebook' on Tue, 26 Apr 2011 09:45:22 GMT, sez:
facebook not allow
'boyong' on Wed, 27 Apr 2011 02:43:57 GMT, sez:
'okgoo' on Thu, 28 Apr 2011 16:50:12 GMT, sez:
It doesn't work for me. I live in Europe, does this have to do with it? Please, could you tell me how to successfully block it?
'nepbj' on Tue, 24 May 2011 16:53:20 GMT, sez:
thanks for the post but it doesnot works in Mozilla Firefox
'Steve' on Sat, 04 Jun 2011 05:32:25 GMT, sez:
Use openDNS it couldn't be any easier.
'storm' on Thu, 09 Jun 2011 22:54:45 GMT, sez:
whit is wierd is that while trying to stop going on distracting sites i ended up wasting a good 45min on this site which distracted me from doing my work!!!!!=) good job!!!!=) but i waz very useful!!! thanks!!!!=)
'Cody' on Sun, 19 Jun 2011 22:59:50 GMT, sez:
'Cody' on Sun, 19 Jun 2011 23:00:45 GMT, sez:
'fabjo' on Mon, 20 Jun 2011 14:02:52 GMT, sez:
please delete this page ... Thanks
'marcust' on Mon, 27 Jun 2011 16:12:45 GMT, sez:
Social Network Controller (SNC) is an excellent program to lock Facebook and other social networks (youtube, twitter, etc.) in an easy manner. I have been using it and it allows me to control the time that my employees spend using social networks. You can download the program from the following URL: http://www.socialnetworkcontroller.com/index.php?lang=en
'How to block facebook?' on Tue, 28 Jun 2011 08:25:40 GMT, sez:
You can also use 127.0.0.1 to block facebook
'mook' on Tue, 28 Jun 2011 14:01:10 GMT, sez:
disable cookies to facebook id already figured that.. but if u know enough to get into trouble... an easy workaround.. content advisor id never used and seems easy as (win 7)to the guy that said www.www.(etc),facebook.com.. omg that actually works.. but i added *.facebook.com and have beaten that. u can add as many wwwwws ya want by adding the *.facebook.com to never allow ya cant get on. commodore 64 basic to the rescue! lol
'mook' on Tue, 28 Jun 2011 14:14:04 GMT, sez:
ps for those who didnt have the "privillige" to tinker with a 64, "*" means anything/everything, so in theory it should block anything with any prefix from lite/https/www.www facebook.com, anyone whom corrects me on this must be a real geek and can/could teach me a thing or 2.. just dont turn me into anymore geek than i am already, k?
'Block Website' on Mon, 04 Jul 2011 12:58:22 GMT, sez:
I use this one to block some websites in my company http://www.goldlimiter.com. So far, it works great.
'BillR' on Fri, 29 Jul 2011 16:01:13 GMT, sez:
Used it to block employees from facebook and about 20 other sites but it didnt block msn.com for some reason. I used "0.0.0.0 www.msn.com". it worked on ALL the other sites, any suggestions?
'genocyde' on Wed, 14 Sep 2011 00:31:41 GMT, sez:
# block facebook
for some reason it wont block the en-gb.facebook.com
'mook' on Thu, 17 Nov 2011 12:59:28 GMT, sez:
127.0.0.1 *.facebook.com seriously.. try that
'ansh' on Wed, 20 Jun 2012 19:58:56 GMT, sez:
nice post buddy
'ankush' on Sat, 28 Sep 2013 08:36:25 GMT, sez:
sir i hv blocked facebook in same way plzz help me to unblock it i was just trying
'mahesh' on Wed, 18 Dec 2013 04:56:37 GMT, sez:
facebook is blocked