Skip to content

Instantly share code, notes, and snippets.

@trodrigues
Forked from jneves/gist:3654732
Created September 6, 2012 10:55
Show Gist options
  • Save trodrigues/3654769 to your computer and use it in GitHub Desktop.
Save trodrigues/3654769 to your computer and use it in GitHub Desktop.
Greasemonkey script
// ==UserScript==
// @name Hootsuite promoted tweets never more
// @namespace http://localhost
// @description Remove hootsuite promoted tweets
// @include https://hootsuite.com/dashboard*
// @version 1
// ==/UserScript==
function addCss(cssString) {
var head = document.getElementsByTagName('head')[0];
return unless head;
var newCss = document.createElement('style');
newCss.type = "text/css";
if (typeof newCss.styleSheet !== "undefined") {
newCss.styleSheet.cssText = cssString;
} else {
newCss.appendChild(document.createTextNode(cssString));
}
head.appendChild(newCss);
}
addCss (
'._promoted { display: none !important; }'
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment