Created
October 5, 2008 05:09
-
-
Save bradly/14847 to your computer and use it in GitHub Desktop.
This file contains 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
// ==UserScript== | |
// @name Twitter Cleanup | |
// @namespace Scrossics | |
// @description Clean up Twitter's new "promotion" area | |
// @include https://twitter.com/* | |
// @include http://twitter.com/* | |
// ==/UserScript== | |
var divs = document.getElementsByTagName("div"); | |
for( i = 0; i < divs.length; i++ ) { | |
if(divs[i].className == "promotion") { | |
divs[i].style.display = "none"; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment