Last active
November 17, 2019 18:08
-
-
Save englehardt/9855bcea5ae6447f289092b6f7d6a41d to your computer and use it in GitHub Desktop.
Greasemonkey userscript to remove tweets from timeline which only show up because they were liked by someone you follow.
This file contains hidden or 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 Likes on Twitter | |
// @namespace twitter | |
// @include https://twitter.com/ | |
// @version 2 | |
// @grant GM_addStyle | |
// ==/UserScript== | |
GM_addStyle('div.promoted-tweet, div[data-component-context=suggest_activity_tweet] {display: none !important}'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Just wrote a short script to remove those tweets for myself, and then saw your version because I wanted to see how other people approach it :)
Also noticed that you started with an approach of removing the block, and then switched to hiding it. Much more efficient probably.