Having control over the pages that open and close on your computer is both important and easier than it seems. What’s more, you don’t even need to download any special programs to do it. Just follow these simple steps.
What you Need to Do
In order to block a site, you must first access a system file called “host”. You can reach it in two different ways:
Opening the “Run” tool of your computer (press the Windows + R keys) and, in the blank field, inserting the text “notepad% windir% \ system32 \ drivers \ etc \ hosts” (without quotation marks);
Now open the file as a notepad text and create a new line at the end of the text. In it, you should enter the code “127.0.0.x”, followed by the address of the site you want to block. You have to replace the “x” of the above code with a number that isn’t already on the list.
By following the process correctly, you will get something similar to the image above. If everything is OK, the only thing left to do is to save the file and restart your browser.
This way, whenever someone tries to open a locked page, your browser will display a blank screen. There is no error or computer message that will display; the site simply will not open. To allow the address to open again, just delete the corresponding item from the list.