Firefox - How to block a specific site?

RobertHoltzman holtzm at cox.net
Sat Jan 23 18:16:01 UTC 2010


On Sat, Jan 23, 2010 at 09:37:17AM +0000, Graham Todd wrote:
> On Fri, 22 Jan 2010 22:03:06 -0700
> ANDY <sirald66 at gmail.com> uttered these words:
> 
> > UBUNTU 9.10
> > FIREFOX 3.5.7
> > 
> > Using Firefox or /etc/hosts, I want to block/redirect www.FoxNews.com.
> > 
> > How should I do that?
> > 
> > 
> > ANDY - Salt Lake, UT
> 
> Short answer:
> 
> make sure you fire up your text editor in root mode, then
> open /etc/hosts in the text editor.  Place an extra line *at the bottom*
> of all your text as follows:
> 
> 127.0.0.1		www.FoxNews.com

               .............snip............

Forgive my ignorance. I've never had occasion to use it but would
/etc/hosts.deny have bearing on this?

-- 
Bob Holtzman
GPG key ID = 8D549279
If you think you're getting free lunch
check the price of the beer.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20100123/8e9b1b64/attachment.sig>


More information about the ubuntu-users mailing list