Created
August 29, 2016 19:45
-
-
Save 1Marc/b192b96639f82366a8600275fec91f7b to your computer and use it in GitHub Desktop.
Tampermonkey remove ads
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 Remove Promoted Tweets and Activity Tab | |
// @namespace http://twitter.com | |
// @version 0.1 | |
// @description Remove Twitter Garbage | |
// @author You | |
// @match https://twitter.com/* | |
// @grant none | |
// ==/UserScript== | |
localStorage.removeItem( 'promoted_accounts' ); | |
var divNode = document.createElement("div"); | |
divNode.innerHTML = "<br><style>li.moments,.promoted-trend,.promoted-account,.promoted-tweet { display:none; }</style>"; | |
document.body.appendChild(divNode); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment