Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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

Recently, my server's Privoxy rules to block Facebook's spying have failed. How can I block current Facebook spying links?

Since soon after the inception of Facebook's so-called “Open Graph” cross-site tracking widgets (those “Like” bugs on numerous websites), I blocked them by using this rule (in user.action) on our site's Privoxy server:

{ +block-as-image{People-tracking button.} }|widgets)/(like|fan|activity).*

That worked fine; the spying bugs no longer appeared on any web page.

Today I noticed that they're all making it past that filter [edit: no, they're not].

SOLUTION: The proxy was being silently ignored, though this was not obvious in the client. The above rule continues to work fine.

share|improve this question

migrated from Sep 17 '10 at 16:47

This question came from our site for computer enthusiasts and power users.

What are like bugs? – Bart Silverstrim Sep 16 '10 at 11:15

I found this wasn't blocking a facebook window for me so I added "activity" in there with like and fan (ie, (like|fan) becomes (like|fan|activity). Not sure exactly what the activity bit is but hiding that php page made the Facebook annoyance and constant page reloads that occur after implementing this:

FWIW to anyone.

share|improve this answer
+1 for the update to the regex. I've incorporated that into the question for future reference. – bignose May 8 '11 at 1:48
up vote 1 down vote accepted

Sorted this out; the proxy was being silently ignored.

share|improve this answer

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.