Created
April 28, 2020 22:18
-
-
Save jaketrent/84bf87eb72056d2d9b6563c7d693170b to your computer and use it in GitHub Desktop.
Userscript for Tampermonkey et al that hides twitter post like counts
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 Hide My Twitter Like Counts | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description Hide the like count | |
// @author jaketrent | |
// @include https://twitter.com/* | |
// @include http://twitter.com/* | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
var styles = document.createElement('style'); | |
styles.id="hidelikes" | |
styles.innerHTML = ` | |
[data-testid=like] { | |
visibility: hidden !important; | |
} | |
`; | |
document.head.appendChild(styles); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment