** Updated 7/19 - improved code after re-reading the ABPlus guide thanks to a user comment from Mr. Palant - also added Chrome code from reader tips**
Important, if you find a site where this does not work please include the URL in a comment below - as sites get tricky the code may need to be adapted or new blocks created
For reasons I won't get into in this post I'm very discouraged by the recent Facebook Connect changes that have, without my approval, spread my Facebook persona across various websites that personally I don't want integrated with Facebook. Some examples are the Gawker Media Sites, techcrunch or money.cnn.com - I've recently started seeing little things like this all over sites:
![]() |
| As seen from money.cnn.com |
Because of a lack of opt-out available, I've been forced to use an Ad Blocker to disable this functionality completely. I've tested this for a while and after a number of tweaks I finally found a solution that does not break any on Facebook functionality while stopping Facebook Connect.
1. Get Firefox - also reported to work with Chrome and Opera (see below) (if you still use IE sorry, can't help you there).
2. Install AdBlock Plus for Firefox - here. Click the Install Adblock Plus 1.2 link (1.2 may change). This will present you with a Yellow Security bar near the URL bar at the top of your screen:
| click Allow |
![]() |
| click Install Now |
After Install you will be asked to restart Firefox for the install to complete
![]() |
| click Restart Firefox |
Once Complete and Firefox restarts you will have a new ABP icon in next to the search box as well as a new AdBlock menu item under Tools > AdBlock Plus Preferences - access the preferences via the button or menu item
3. Add the following "Facebook Block" Filter Click the Add filter... button - in the text field that appears copy and paste the following line:
||facebook.*$domain=~facebook.com|~127.0.0.1
I've received some emails asking for an explanation of the block code - so here it is ||facebook.* is to block anything from Facebook's domains. $domain=~facebook.com|~127.0.0.1 is an exclusion to the block that states if you are actually on facebook.com don't block the content. The 127.0.0.1 exclusion is your local computer - this is because the Facebook plugin used by the Java picture uploader actually loads from your local computer, this makes sure the uploader continues to work.
4. Click Apply - OK
That's it - you now have blocked Facebook Connect (no more like or share buttons and no more auto-logged into website X using your Facebook cached credentials) - you can test it by visiting any article on money.cnn.com (not the main page but an article) and you should see zero Facebook integration. If you come across any pages that this didn't work - let me me know in a comment below so I can "expand" the guide to make sure that site is blocked too.
Chrome Instructions:
Per user tips (not tested myself) the same can be done for Chrome Browsers using the Ad Block Plus plugin for that browser with only a small change to the code:
*.facebook.*$domain=~facebook.com|~127.0.0.1
(missing the pipe charaters ||)
Opera Instructions:
Again per user tips (not tested myself) - Opera has built in blocks without the need for Ad Block Plus.
Settings > Preferences > Advanced > Content > Blocked Content then select add and put *.facebook.*$domain=~facebook.com|~127.0.0.1 into the field



45 comments: