You can use your computers hosts file to block any data being sent to or from your computer, for any domain. This is done by the operating system, and will block data on any browser of other program.

Location of hosts file[edit | edit source]

Unix/Linux/BSD[edit | edit source]

  • /etc/hosts

Windows[edit | edit source]

  • Windows 95/98/Me
  • Windows NT/2000/XP Pro
  • Windows XP Home

Editing the file[edit | edit source]

You shouldn't need to remove anything from the file so if you don't know what you are doing don't remove or change any of the line. Simply add the new lines below.

  • Make sure localhost is the first line on the file.
    • Its OK to have blankg lines of commented lines before it. Comments are indicated by a '#'
    • Your localhost line maybe more complex, and that's OK, as long as it has and localhost on the same line
      • Example: PDP-8.homeland PDP-8 localhost
  • You can add any domains you wish to filter by adding a line in the following format. You can add as many lines as you wish
    • domain
    • Example:

Example hosts file[edit | edit source]

# Local PDP-8.homeland PDP-8 localhost

# My filters

See Also[edit | edit source]

References[edit | edit source]

From HowTo Wiki, a Wikia wiki.

Community content is available under CC-BY-SA unless otherwise noted.