Some websites on the internet can be highly intimidating and may contain stuff that is inappropriate for children and so. Thus, most people restrict their children from accessing the internet while some smartly block particular websites for prevention.
If you are using Microsoft Edge, you won’t find an option to block any website to prevent access to it. Hence, most Microsoft Edge users are curious enough to know how to block a website on Microsoft Edge.
Microsoft Edge hasn’t yet introduced any in-built function specifically to block websites. Nevertheless, there is a workaround to block websites on the browser using your command prompt. And this trick not only works for Edge but for all the web browsers absolutely for free.
Related: How To Block a Website on Chrome Android Browser?
I’ve listed two ways to block a website, the best you can do is using an extension and block the website from accessing in Microsoft Edge browser.
Contents
How to Block a Website on Microsoft Edge?
Blocking websites is not that hard with modern browsers such as Microsoft Edge. In fact, there are two methods available to block any website on Microsoft Edge.
Block Websites with Site Blocker Extension
Earlier, there wasn’t an alternative to attach extensions on Microsoft Edge, but by the latest Microsoft Edge Chromium, you can combine extensions. Hereabouts, how to prevent websites by the site blocker extension.
- Launch Microsoft Edge browser on windows.
- Click on the menu icon
from the top right-hand edge.
- Choose the Extensions tab from the menu list.
- Click on the Get extensions for Microsoft Edge button.
- Type block sites on the search box and hit
. - Click on the
button and then button against any extension.
Note: You can download any, as all of them operate in the same manner. You can try different extensions to find out which one suits you the best.
When the extension is installed, start a website that you wish to block (e.g., Facebook.com)and then tap on the Block Site icon found at the top. The last step is to tap on the
button.Promptly, whenever you start Facebook, you will notice a black screen, which means restricted access. To unblock back, just tap on the Block Site icon from the top edge of the screen and click
.Block Website Using Host File
In this process, You require to execute some easy addition to the Windows hosts file. Host file editing is the simplest technique to block websites on Microsoft Edge or any other web browser. This is an accessible approach to restrict people of all generations from viewing content that you don’t desire to see.
- Tap the cmd. key button and search for
- Right-click on Command Prompt and choose the option Run as administrator.
- In the command line window type, notepad c:\WINDOWS\system32\drivers\etc\hosts and hit the button.
- Switch to the Notepad app, and at the end of the text, type 127.0.0.1.
- After giving space type the name of the website that you wish to block.
For example, 127.0.0.1 www.facebook.com. For every website, you wish to block, simply repeat this step.
- Open File from the notepad menu bar and hit on to keep the file.
- Close notepad and command prompt.
If you’re not able to edit the host file, we recommend you to download Notepad++ (freeware software) to edit this file. As this is an important system file, you will need special software/permissions to edit this file. With notepad++ you will be able to edit and save this file effortlessly.
Bottom Line: Block Website on Edge
Making good use of the internet is very crucial, mostly in cases of children. However, due to certain websites containing ill-suited ads or content might create a negative impact on the usage of the internet. As a result, it is always a wise decision to block such websites on your browser.
The above-mentioned steps will help you do so in your Microsoft Edge browser. Since experimenting with the command prompt must be alarming; therefore, you are advised to follow these steps very carefully.
Hi, the extension Block Site works fine in so far as the tab opens and I get a message telling me the site has been blocked, but it is not a time saver, as I still have to close the tab that popped up. I want to interrupt the entire process and prevent the tab from opening in the first place, that way I can continue what I’m doing without interruption. Can I do this in Edge, or do I need to use a different browser altogether? If I remember correctly I used to be able to do this in IE.
Thank you
David Killawee