Type the below command at the bottom of the file.Choose “All files” from the dropdown menu.Go to the “C:\Windows\System32\drivers\” folder.
Choose the “Run as administrator” option.Use hosts files to block websites on the Edge Browser
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. 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.