Last active

hide lame stuff on

  • Download Gist
1 2 3 4
$().ready(function() {
$("<style type='text/css'>.trends-inner{ display: none }</style>").appendTo("head");
$("<style type='text/css'>{ display: none }</style>").appendTo("head");

to be clear, this eliminates the "trending topics" section, and the little ad links for the iPhone and iPad Twitter clients

Cool, will give this a try! Any reason why you had to take this approach rather than $('.trends-inner').hide() though? (I know Twitter's rendering process is a Bit Complicated™)

sry re delay. iirc using hide() just resulted in the call to hide() occuring before the elements satisfying the query even existed. I think I actually fiddled with LiveQuery unsuccessfully for a while before I threw my hands up and just went with the CSS hack.

Ah, good point. I encountered similar issues with the "old" Twitter client when doing some work like this. Good call.

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.