Earlier quoted context omitted.
uBlock can already do this (I use it for hiding the Twitter "while you were away" nonsense), although I suspect that the next step is Facebook scrambling DOM classes and ids with no discernable pattern.
> scrambling DOM classes and ids with no discernable pattern That's why I have been beefing up the DOM filtering code in the latest versions -- there are already sites doing this. There is a lot of untapped potential with the new operators, I am waiting for opportunities to put them to test, and fine-tune them if needed.
> That's why I have been beefing up the DOM filtering code
Isn't it all done through CSS selectors? Could you share more?
How about leveraging other heuristics such as HTTP headers (response cookies for starters) or timing information?