Skip to content

Instantly share code, notes, and snippets.

@jneves
Created September 6, 2012 10:51
Show Gist options
  • Save jneves/3654732 to your computer and use it in GitHub Desktop.
Save jneves/3654732 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";
newCss.innerHTML = 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