I am new to null byte and this is my first post so please give me tips in the comment section.
there is probably no reason to block facebook but if want to focus on somethimg important like studies,work and dont want facebook to distract you or you can do it for fun as a prank.
1.Click on start button>all programs>accessories
2.right click on notepad and run it as administrator.
- Click on file>open, then you have to locate the following adress
- in the host file search for the following code :-
# 127.0.0.1 localhost
then just below that paste the folloowing code:-
# Blocking Facebook
then save the file and you are done.
now you cannot access facebook in any website.
- just paste the following code below # 127.0.0.1 localhost
# block google