

Note: make sure there is at least one space between the localhost IP address and the actual website address. So, if you want to, you can delete the comment line. This makes it easy to remember the reason the next time you open the hosts file. The line starting with # is a comment line where you can write why you are blocking the website. Don’t forget to replace with the website address of your choice. In the hosts file, use the below format to block websites on the Edge browser. This action opens the hosts file inside the Notepad application. Now, select the hosts file and click on the Open button. Once you are here, select All Files from the bottom right drop-down menu. Go to C:\Windows\System32\drivers\etc folder. The above action will open the file selector window. To do that, go to the File menu and select Open. In the Notepad, we need to open the hosts file. You can also right-click Notepad and select the “Run as Administrator” option. Now, choose the Run as Administrator option in the right panel.


For example, you can block websites on schedule, redirect websites, etc. I recommend you play with the options and see what works for you. The extension has a lot of options and features to play with. The website is added to the block list as soon as you do that.įrom now on, the website is blocked in the Edge browser. Type the website address in the Block Site field and click the “Add Item” button. From there, choose the “Extension Options” option. If this is your first time, you might have to click the “Allow extensions for other stores” button at the top.Īfter installing, click on the “Extensions overflow” icon and click on the “BlockSite” menu icon.
#Website blocker windows how to#
So, let me show you how to use an extension to block websites on the Edge browser.įirst, open the Edge browser and go to the BlockSite extension page - Ĭlick the “Add to chrome > Add Extension” button to install the application. As most of you know, there are a lot of extensions that do a lot of things. That means you can use Chrome extensions in the Edge browser. Use an extension to block websites on the Edge browserĮdge browser is based on Chrome. The good thing is that the hosts file method blocks the website in all places. For more information on the hosts file, visit this page. Since localhost is just your computer, the website does not load. This is because whenever you enter the URL in the browser’s address bar, it tries to access the localhost. Once you map a website address to localhost, you cannot access that website.
