Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

how to block a website?

  • 4 replies
  • 40 have this problem
  • 145 views
  • Last reply by Hasan

i cant block a site

i cant block a site

Chosen solution

You could use this extension to "block" within Firefox and only for Firefox.
https://addons.mozilla.org/en-US/firefox/addon/blocksite/

The HOSTS file will affect all browsers in that PC equally.

Read this answer in context 👍 2

All Replies (4)

Close All Web Browsers -> Open My Computer -> go to Windows Drive (C:\) -> Windows -> System32 -> drivers -> etc -> open "hosts" file in Notepad -> at the end of the file write

127.0.0.1 www.xyz.com

xyz = the website you want to block

Save the file and exit. Now restart your web browser. Check and tell if its working.

Modified by Hasan

Chosen Solution

You could use this extension to "block" within Firefox and only for Firefox.
https://addons.mozilla.org/en-US/firefox/addon/blocksite/

The HOSTS file will affect all browsers in that PC equally.

tnx a lot.......it works.......

To help other users find solutions, please return to this Thread and Sign-in to the

forum with your Username and Password:

click on "Solved It" next to the reply ABOVE that BEST solved your question

DO NOT click "Solved It" next to this reply