How to Block Websites on Chrome?

You want to block some websites on your chrome browser when you are working or protect your children from seeing certain websites. Chrome browser, this blocking websites feature is called Safesearch. When you turn on SafeSearch in chrome, you can hide all explicit contents not made for children. This feature works in all versions of windows, like windows 7/8/8.1/10/11.

In this rise windows article, we will guide you on Block Websites on Chrome.

How to Turn on SafeSearch on Chrome?

To filter out Google search results that are explicit or inappropriate for your children, navigate to google.com/preferences and click Turn on SafeSearch checkbox.

Search-Settings-1024x805

Then, click the Save button.

Search-Settings-Save-1024x805

After completing the above steps, inappropriate and explicit websites will stop appearing on Google searches for that user.

To ensure SafeSearch is turned on and working, search for something in Google. You should see “SafeSearch in” the browser’s top-right corner, just below the user profile.

gearupwindows.com-Google-Search-SafeSearch-on-1024x821

But, if you want to block your children from visiting harmful websites, your problem is not solved; you need to follow some more steps.

How to Block Specific Websites on Chrome by Editing the Hosts File?

If you want to control specific websites on a chrome browser, you need to install a paid extension, BlockSite, from the Chrome Web Store.   Even you can add exact keywords to block websites. But, if you want a free option, edit the host’s file of Windows and add websites there. It will block the specific website on all your browsers. Do the following steps;

Step 1. Firstly, Log in to your Windows PC with administrative privileges.

Step 2. Navigate to the following path in File Explorer:-

C:\Windows\system32\drivers\etc

etc-1024x772

Step 3. Then ,Right-click on the hosts file and select Properties option.

Hosts-properties-1024x772

Step 4. Under the “hosts Properties” window, navigate to the Security tab and then select the Users group.

hosts-Properties-1

Step 5. Now, click on the Edit button.

hosts-Properties-Edit

Step 6. Then, A new pop-up window will appear. Again select the Users group.

Permissions-for-hosts

Step 7. Now, In Allow column , check Fullcontrol, Modify and Write options.

Step 8. Then, Click Apply.

If the Windows Security dialog appears, click the Yes to continue.

Windows-Security-1-768x313

Step 9. Click ok.

Step 10. Click ok on the next window.

Step 11. Now, again right-click on the hosts file and select Open  with option.

Right-click-on-hosts-file-1024x772

Step 12. Next, From the drop-down menu, select Notepad and then click on the OK button.

Open-with-notepad-768x1023

Step 13. You need to add the website address in the host’s file you want to block on your PC. Here, you need to add lines with your localhost IP in front of any domain you wish to block, like:

127.0.0.1 www.facebook.com
127.0.0.1 www.twitter.com

Ensure a space between the localhost IP address and the website domain names. You need to add the new lines of code after the last commented line that starts with #.

hosts-Notepad-1024x670

Step 14. Now save the notepad file.

Step 15. Restart your computer.

That’s it! Try to visit any website in any browser on your computer that you have blocked in the host’s file. It will refuse to connect.

facebook-not-opening-1024x816

That’s all for this article. I hope this article will add some value to your work.

You guys are amazing; Keep reading, learning, and growing.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: