There are a few different ways to block websites on Google Chrome. You can use Chrome’s built-in settings, a Chrome extension, or your computer’s hosts file, for example.
Block websites by using a Chrome extension
There are a number of extensions that can be used to block websites on Chrome, such as Block Site (https://chrome.google.com/webstore/detail/blocksite/eiimnmioipafcokbfikbljfdeojpcgbh?hl=en) and StayFocusd (https://chrome.google.com/webstore/detail/stayfocusd/laankejkbhbdhmipfmgcngdelahlfoji?hl=en).
Block sites by using Chrome’s built-in settings
Chrome also has some built-in settings that allow you to block websites. To access these settings, type “chrome://settings/content” into the address bar and then click on the “Block” tab.
Block website by using a hosts file
You can also block websites by editing your computer’s hosts file. This file is located in the following directory:
Windows: C:\Windows\System32\drivers\etc\
Mac: /etc/
To edit the hosts file, you will need to open it in a text editor like Notepad. Once you have opened the file, you can add the following lines at the bottom, substituting the website you want to block for “example.com”:
127.0.0.1 example.com
::1 example.com
Save the file and then restart your computer. The website you added to the hosts file should now be blocked.
© 2024 Fresh Kit