This is a very simple and useful trick to block websites without any software(on Windows).Just follow these simple steps….
Open run and paste this “%SYSTEMROOT%/system32/drivers/etc” (without quotes).
Open a file named “hosts” with a text editor (like notepad)
add this line to the end of the file.
replace “example.com” with the site you wanna block and save it.
A CAUTION here : JUST ADD THE CODE DO NOT CHANGE ANYTHING ELSE.
Here may come up a problem if you’re not logged in as an Admin.This one http://goo.gl/fb/NwnjN might help you in that case.
You’re done now.