Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm searching for an utility (better free) or an add-on for Firefox that intercepts the http traffic and replaces or deletes some keywords in the html source, basing on a pre-defined user edited list. So that I could have a 'cleaner' web experience.

Example 1: I would like to replace every occurrence of "" with an empty string, so that I can still see the website "", but I don't see anymore the ugly ads from that same website.

Example 2: I would like to replace every occurence of " nastyword " with "-censored-".

Does a utility like the one described, or a firewall with this kind of content filter ability, or an Add-on for Firefox with the same features exist?

EDIT: sorry, I forgot to mention: It should work under windowsXP and/or w7

share|improve this question
Squid with dansguardian will allow you to do some of that.. if not all of it, it's not simple though: – NickW Feb 5 '14 at 13:07
BTW, dansguardian can be integrated with firewall software, like smoothwall. – NickW Feb 5 '14 at 13:21
up vote 0 down vote accepted

As an "utility" Privoxy can do that very nice and it's very lightweight. And it runs on Win32 platforms.

Configuration in detail:

for Example 1 use Path patterns to modify paths as desired.

for Example 2 use "filter" directives to change page contents you want on the fly

You can find some basic rulesets around for it aswell.

Of course it's not browser dependent so it applies to any browser you may like.

share|improve this answer
Thanks, I tried it: it works well with the path patterns; while with the filters I still have some problems; i.e. if I define a new filter in the file "user.filter" (or even in "default.filter") like "s/badword/bepolite/g" it does not work. Well I'll have to read a bit more the documentation. Anyway, thanks! – tech Feb 6 '14 at 12:04

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.