It used to be easy to see which of your friends were online in facebook. But these days, the facebook chat window is cluttered with the friends facebook thinks you should chat with, ignoring who is online and who isn’t.

In my spare time, I like to dig through facebook’s code, finding hidden gems and secrets (last year I was the first to expose their video chat plans with Skype). So after hearing everyone complain about how broken facebook chat has become, I decided to challenge myself to fix it.

It turns out there’s an easy fix, and it is buried right in facebook’s own code.