How could I block a website from opening on my computer regardless of the browser I use . I tried modifying the host file with no success so far . Any ideas?
One of 2 options I can think of right this second. Edit the host file or block it in windows firewall.
host: Let's say you want to block google.com
Open notepad as administrator, find notepad in the Start menu, right click, open as admin or search for notepad in the search bar in the start menu and right click open as admin.
Once notepad is opened goto:
Open the hosts file
Add under all the text a line by itself without a # in front of it (# means that line is a comment and will do nothing).
to block google for instance:
Now when you go to google.com in any browser, it tries to grab the page from the 0.0.0.0 ip which goes no-where.
I think this problem has been solved, but for completeness I'll add this: Firefox Addon - Kitten Block
Because you probably want to put something on one of these browsers in addition to the system 32 solution say, because the "unable to connect" page is a rubbish place to keep going.
maybe it's redirected website if so blocking via host does not work until you enter the redirected web address in host file.
protected by Community♦ Jul 15 at 10:30
Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.
Would you like to answer one of these unanswered questions instead?