Skip to content

Instantly share code, notes, and snippets.

@bradly
Created October 5, 2008 05:09
Show Gist options
  • Save bradly/14847 to your computer and use it in GitHub Desktop.
Save bradly/14847 to your computer and use it in GitHub Desktop.
// ==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