Skip to content

Instantly share code, notes, and snippets.

@mathias
Created December 10, 2011 22:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mathias/1456726 to your computer and use it in GitHub Desktop.
Save mathias/1456726 to your computer and use it in GitHub Desktop.
$().ready(function() {
// don't show me trending topics
$("<style type='text/css'>.trends-inner{ display: none }</style>").appendTo("head");
// don't show me promoted tweets
$("<style type='text/css'>p.promo{ display: none }</style>").appendTo("head");
// don't recommend that I follow anybody
$("<style type='text/css'>.user-rec-component{ display: none }</style>").appendTo("head");
// don't show me extraneous HRs either
$("<style type='text/css'>.component-spacer{ display: none }</style>").appendTo("head");
// don't show the footer links
$("<style type='text/css'>.footer{ display: none }</style>").appendTo("head");
// don't display stupid activity feed
$("<style type='text/css'>.dashboard-activity-teaser-inner{ display: none }</style>").appendTo("head");
// in fact, just shut the fuck up
$("<style type='text/css'>div.dashboard{ display: none }</style>").appendTo("head");
// moar wide
$("<style type='text/css'>div.content-main{ width: 837px; }</style>").appendTo("head");
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment