Disabling Facebook Connect on Non-Facebook Websites
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:
Facebook Connect: As seen from money.cnn.com
Here is how to disable Facebook Connect completely
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 (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 You will then be prompted to install the add-on after a short countdown
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:
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:
(missing the pipe charaters ||)


Comments
Wladimir Palant