Esato Mobile
General discussions : Non mobile discussion : How to disable a site (firefox)
> New Topic
> Reply
< Esato Forum Index > General discussions > Non mobile discussion > How to disable a site (firefox) Bookmark topic
Melik Posts: 249

I want something like, when i write www.blablabla.com (but an existing site) it should say ''www.blablabla.com could not be found, please check the name and try again.''

how can i do this ?
--
Posted: 2005-08-23 20:18:45
Edit : Quote

Cycovision Posts: > 500

Don't know about that, but if you want to stop certain sites from being accessible on your pc, you can add them to the 'hosts' file.

On windows xp, navigate to c:windowssystem32driversetc

Make sure that you have set your folder options to show hidden files and folders and you should see a file called simply 'hosts', no file extension.

Double-click on it and choose notepad to open it with. You should see the following:

# Copyright (c) 1993-1999 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host

127.0.0.1 localhost

Copy the '127.0.0.1 localhost' bit and paste it underneath. Then, replace 'localhost' with the website, such as 'www.blahblah.com'. Then, in notepad, click on 'file' and 'save'.

What happens is that whenever someone attempts to visit that site on your PC, they get automatically redirected to your own pc, rather than the website itself. Unless you have a web server installed and running, this will result in a 'page not found' error.

Ever wondered how browser hijackers work?



_________________
'He who laughs last, laughs longest. Or didn't get the joke...'

SPURIOUSnonsense



[ This Message was edited by: Cycovision on 2005-08-23 22:46 ]
--
Posted: 2005-08-23 21:07:37
Edit : Quote

New Topic   Reply
Forum Index

Esato home