![](http://headlineslist.com/images/banner.gif)
Is There anyway I can block a website on Google Chrome ?
|
04-28-2014, 06:10 PM
Post: #3
|
|||
|
|||
You need to use the Windows HOSTS file, there is no way to do it directly in Chrome without an extension like you would download from the Chrome Web Store.
The hosts file in Windows can be used to direct a web address to an IP address, so you should direct the website you want to block to localhost (your own machine), which will block access to it. The IP address for localhost is 127.0.0.1 In Windows 7, go to Start Menu, find notepad, right click on it and go to Run as Administrator, this is necessary to be able to edit hosts. In Notepad, go to File > Open. Find the HOSTS file, in Windows 7 navigate to C > Windows > System32 > drivers > etc (Or copy paste C:\Windows\System32\drivers\etc into the address bar in the Open box) Once you have the "etc" folder open, in the bottom right of the "Open" window of Notepad there is a drop down box, change the setting from "Text Documents (*.txt)" to "All files (*.*)" (because the hosts file is not .txt) now, in the etc file you will see "hosts" displayed, open it. Add a new line as follows, any lines that start with # are ignored by Windows. 127.0.0.1 http://www.example.com 127.0.0.1 example.com To be sure of blocking it is best to add the www version and the domain version, since some sites work with / without www. Also add any subdomains you want to block like subdomain.example.com You do not need to include http:// Save the file. |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Is There anyway I can block a website on Google Chrome ? - Joshua - 04-28-2014, 06:04 PM
[] - Toothpaste - 04-28-2014 06:10 PM
|
User(s) browsing this thread: 2 Guest(s)