F.B. Purity does just that, but the HTML is fairly complicated (if I remember correctly, the relevant words are a jumble of absolutely positioned spans, with a lot of fodder thrown in to throw off blockers). Facebook changed their code about a month ago, and the extension developer has been working on a fix for almost all of that time and still hasn't rolled it out yet.