Created
February 25, 2012 04:03
-
-
Save jorilallo/1906375 to your computer and use it in GitHub Desktop.
Twitter.com sans useless UI fluff (dot.js script)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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