Skip to content

Instantly share code, notes, and snippets.

@jorilallo
Created February 25, 2012 04:03
Show Gist options
  • Select an option

  • Save jorilallo/1906375 to your computer and use it in GitHub Desktop.

Select an option

Save jorilallo/1906375 to your computer and use it in GitHub Desktop.
Twitter.com sans useless UI fluff (dot.js script)
setInterval(function(){
// Hide "#Discover" from the topnav
$("#global-actions").find("[data-global-action='discover']").hide();
// Inverse timeline column (tweets left, other things right)
$(".dashboard").css("float", "right");
$(".content-main").css("float", "left");
$(".module .chev-right").hide(); // Small arrows to right
// Removed wrapper background (could use detailed styling)
$(".wrapper").css("background", "none");
// Remove user profile popups
$("a.account-group")
.removeClass("js-account-group")
.removeClass("js-action-profile")
.removeClass("js-user-profile-link");
$("a.twitter-atreply").removeClass("twitter-atreply");
// Fixed position for own moni profile for easier tweeting
$(".dashboard").find("[data-component-term='mini_home_profile']")
.css("position", "fixed")
.css("width", "300px");
// Remove trends
$(".trends").hide();
// Remove user recommendations
$(".dashboard").find("[data-component-term='user_recommendations']").hide();
// Remove similar user recommendations
$(".dashboard").find("[data-component-term='similar_user_recommendations']").hide();
// Hide footer - Developer site is at dev.twitter.com
$(".module.site-footer").hide();
}, 100);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment