Sunday, June 24, 2012

Stop browsing facebook From windows OS

I m sure most of you guys have fed up with facebook already. No doubt it is a huge waste of time. You waste your time that you have for reading, watching movie or most probably time for do studies to browse facebook.

As from medical aspects doctors have recognize the highly addiction to facebook is a mental illness and i m sure most of the facebook users like us have this since we waste approximately 3/4th of our day on facebook.


For me when i logged in to my windows or linux operating systems and start the browser, first thing i do is, type www.facebook.com, go there and see what are the news, status updates and photos of my friends. Then somebody come online and chat with me, some one else join to the chat and so on. Which make my 5 minutes browsing session goes on for more that 6 hours sometimes.

I dont to deactivate my account neither, because it is the only medium that connect all the friends i know since i was in nursery to university. And temporarily deactivation is humiliating since its like you log out and login by blocking your account.

Most of the time i use windows as my operating system (it is dual boot machine). So i did blocked facebook to my windows OS by the operating system level. There are software like anti virus programs which let you do this in more easy way, but it is very easy to undone that too. That is why i used the hard way because no body wants to do the hard things again and again, humans are lazy from their nature.

Let us stop facebook hardway ....

This is a simple method, for non IT people we do little mapping to facebook URL to our localhost so when you type the an URL starting from www.facebook.com it will give you 403 error saying "access forbidden to the content you request" because there in no facebook.com in our local machine. So lets start little hacking then,

1. Go to the location "C:\windows\system32\drivers\etc\"



2. Copy the file named "hosts" to desktop (also copy and back up this file to separate location in case things gone wrong.)

3. Open the copied hosts file with your favorite editing program (notepad, wordpad, notepad++ ) and add the following line to the end of the file and save it back to the desktop.

                    127.0.0.1         www.facebook.com                                 



3. After editing and saving the file back to the Desktop, copy the edited file back to the "C:\windows\system32\drivers\etc\"  location and replace the original file.

4. Check if everything is ok by typing the "www.facebook.com" into your browser's address bar. If things were alright it will give you HTTP 403  or ACCESS FORBIDDEN error. 




No comments:

Post a Comment