Every time someone would attempt to send me an IM on facebook, Firefox would go gray and stop responding for a moment. I have discovered the quickest way to solve this problem, is to delete the .mozilla folder in my user profile.
CAUTION: This will remove all settings, extensions, and bookmarks in firefox.