
You should save the file and restart the system for the blocker to work.
WEBSITE BLOCKER INTERNET EXPLORER CODE
With Notepad++, you can edit and save this file effortlessly.įor Mac, you can use the Terminal app and run the following code to edit the Host file: sudo nano /etc/hosts/ and add the same 127.0.0.1 script. As this is a critical system file, you will need special software/permissions to edit this file. If you cannot edit the host file, we recommend you download Notepad++ (freeware software) to edit this file. Set the Address to a dummy value 0.0.0.0 will work fine. Next, go to the bottom and enable Use a proxy server. Here, disable the Automatically detect settings slider at the top of the page. Open File from the notepad menu bar and hit Save to keep the file. To change your proxy settings in Windows 10, head to Settings > Network & Internet > Proxy.After giving space, type the website name you wish to block.įor example, 127.0.0.1 For every website you wish to block, repeat this step.Switch to the Notepad app, and at the end of the text, type 127.0.0.1. Open-source ad blocker The uBlock Origin is a free and open-source, cross-platform browser extension for content filteringprimarily aimed at neutralizing privacy invasion in an efficient, user-friendly method. Click the Privacy tab, and then, under Settings, move the slider to the top to block all cookies or to the bottom to allow all.In the command line window, type notepad c:\WINDOWS\system32\drivers\etc\hosts and hit the Enter button.It blocks everything automatically, but it's easy to unblock sites. Right-click on Command Prompt and choose the option Run as administrator. AdBlock Plus for Internet Explorer blocks annoying banner, pop-up, and video ads from appearing on the Web sites you visit.Tap the Windows key button and search for cmd.This is an accessible approach to restrict people of all generations from viewing content you don’t want to see. If you are using Internet Explorer, you can also access blocked websites by changing your browser’s security settings. Host file editing is the most straightforward technique to block websites on Microsoft Edge or any other web browser. During this process, you must execute some easy addition to the Windows hosts file.
