Firefox + NoScript + (for good measure) Ghostery.
If you’re running anything else, good luck.
I had this Facebook stuff show up on a website when I was logged on to Facebook. I just want to second your suggestion of Ghostery. I've blocked 40+ trackers and they're still showing up. The only annoyance is that the black box that list the trackers still shows up on a site after you've blocked everything on that site. I've seen Adblock plus recommended on here before. It's a good one also.