Similar functionality can be achieved in Firefox using one of its settings. From the privacy tab of the Preferences Dialog (Options in Windows), choose "custom setting for History" and disable third-party cookies.
Another method is to use an addon called Facebook Blocker: http://webgraph.com/resources/facebookblocker/ (haven't tested).
Some other methods are suggested here: http://superuser.com/questions/220696/how-can-i-block-all-fa...