Development Possible to block pages in firefox?

Discussion in 'Software' started by OneSeventeen, 14 Jul 2006.

  1. OneSeventeen

    OneSeventeen Oooh Shiny!

    Joined:
    3 Apr 2002
    Posts:
    3,454
    Likes Received:
    2
    I was wondering if anyone knew of a way to blacklist/whitelist pages in Firefox.

    I'm also wondering how to block pages with a plugin, I wouldn't mind writing a plugin that could read in content headers and HTML meta-data before displaying a page, then based on the user's preferences, display it, redirect it, or just display an error.
     
  2. will.

    will. A motorbike of jealousy!

    Joined:
    2 Mar 2005
    Posts:
    4,461
    Likes Received:
    20
    i was sure there was... but i can't find it... There was a block sites option... I may just have been dreaming. Although i remember blocking ebay from my little brother...

    failing that, most firewalls have a site blocking option
     
  3. :: Phat ::

    :: Phat :: Oooh shakalaka!

    Joined:
    7 Jun 2002
    Posts:
    4,886
    Likes Received:
    3
    If you want a quick dirty way to block sites,

    add them to the hosts file c:\windows(or winnt)\system32\drivers\etc and then add

    website.com then a false IP like 10.10.10.10

    this should stop it resolving.
     
  4. OneSeventeen

    OneSeventeen Oooh Shiny!

    Joined:
    3 Apr 2002
    Posts:
    3,454
    Likes Received:
    2
    Yeah, but the goal is a firefox extension that will block it on the browser... I'm doing this for some computers that have nothing but firefox and open office running on linux.
     
  5. simon w

    simon w What's a Dremel?

    Joined:
    3 Nov 2003
    Posts:
    1,302
    Likes Received:
    0
    Hack adblock to your needs?
     
  6. RTT

    RTT #parp

    Joined:
    12 Mar 2001
    Posts:
    14,120
    Likes Received:
    74
    You could just edit the userContent.css file and add for any domain you need...

    Code:
    body
    {
        display: none;
    }
     
  7. cpemma

    cpemma Ecky thump

    Joined:
    27 Nov 2001
    Posts:
    12,328
    Likes Received:
    55

Share This Page