Hide offline contacts from Facebook chat

January 18, 2012 by
Filed under: Code Snippets 

If you’re like me, you stay logged into Facebook throughout the day. I work online so this is not uncommon.

One thing I have always hated is that there are no preferences for how you want to filter that list. Personally I find it pointless to show you offline contacts in an instant chat interface. I know some people use it to leave messages, but I am not one of them.

Assuming you know how to modify your browser’s custom style sheet, this is all you need to add and those offline users will no longer be visible!

.fbChatOrderedList li.item,
.fbChatOrderedList li.separator {
    display: none !important;
}
.fbChatOrderedList li.active,
.fbChatOrderedList li.mobile {
    display: block !important;
}

Feel free to post questions, comments or even improvements.

Comments

Tell me what you're thinking...
and oh, if you want a pic to show with your comment, go get a gravatar!





  • Pages

  • Categories

  • Contact Me

    Your message was successfully sent.
    Thank You!