How to block websites in Mozilla Firefox??
You can easily and effectivily block access to a website by adding it to your Windows HOSTS file.(Yes, Hosts is capitalised for some strange reason). Without any software. Doesn't matter what browser that you use.
1.Go to your HOSTS file which is located at:
C:\WINDOWS\SYSTEM32\DRIVERS\ETC for windows Vista and XP
C:\WINNT\SYSTEM32\DRIVERS\ETC for Windows 2k
C:\WINDOWS for Windows 98 and ME
2. Open HOSTS with Notepad.
The default Windows HOSTS looks like this:
______________________
# Copyright © 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
_____________________________
3. Directly under the line that says 127.0.0.1 Localhost, you will want to type:
127.0.0.1 name of the URL you want to block
For example to block the MySpace.com homepage (highly recommended!), simply type:
127.0.0.1 myspace.com
127.0.0.1 www.myspace.com
Other parts of MySpace could be blocked in a similar way:
127.0.0.1 search.myspace.com
127.0.0.1 profile.myspace.com
etc etc etc...
You may need to add sites with both with and without the "www.". Test after blocking to make sure you got it right.
You can add as many sites as you wish to block in this fashion. I, myself, have over 12000 undesireable and dangerous sites in my personal HOSTS file!
4. Close Notepad and answer "Yes" when prompted.
5. Reboot your computer and attempt to access your now blocked website. You should see a Cannot find server or DNS Error saying: "The page cannot be displayed".
Thursday, June 30, 2011
Subscribe to:
Post Comments (Atom)
Popular Posts
-
This is the simplest circuit to make two LED blink back and forth. The technical term for this circuit is “astable multivibrator”. It’s real...
-
LCDs are most common part of our day to day life. we can see it in computer, laptops, digital clocks, mobiles and many other electronics dev...
-
Diploma in Embedded system design course in surat http://www.youtube.com/watch?v=gj_lwUa_xHw&feature=mfu_in_order&list=UL http://www...
-
The VSAT system is used in 120 countries on 500,000 terminals What is VSAT technology? VSAT (Very Small Aperture Terminal) is...
-
Now we have to introduce the most important part of your tool chest. Whether you use Simulator, Debugger or IDE or not, you definitely need ...
-
8051 : These microcontrollers are old but still trendy and most of the companies fabricate these microcontrollers. The older types of...
-
Purpose: To establish a serial communication link between the PC and the 8051. Description: Serial communication is often used either to con...
-
ICT surat degree & Diploma Coaching classes Project management COACHING CLASS FOR DEGREE AND DIPLOMA - Surat R.K.Kansara (global technic...
No comments:
Post a Comment