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 running Firefox with NoScript. How can I restrict Facebook scripts to run only when I visit the site and not on 3rd party web sites like say, engadget?

share|improve this question
up vote 4 down vote accepted

Use NoScript's ABE:

# containment rule
# This rule allows Facebook scripts objects and frames to be included only
# from Facebook pages
Accept from
share|improve this answer
Thanks! This was the answer I was looking for. – abjbhat Dec 26 '10 at 3:46

Go the lazy route and install Facebook Blocker.

share|improve this answer
Haven't tried this extension, however I wanted a more generic blocker as opposed to just blocking facebook on 3rd party sites. – abjbhat Dec 25 '10 at 6:27

With Adblock Plus, I use these two rules:^$third-party^$
share|improve this answer
Not quite the answer I was looking for, but since I use ad block plus as well, this works. Thanks! – abjbhat Dec 25 '10 at 6:27

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.