Hides the newly added view counts from Twitter posts, both in the "detailed" view of a single tweet and in the normal timeline view. It's very fragile, because Twitter's HTML is horrible, so I may need to update this to accommodate changes in the website. :|
Twitter: Hide View Counts by 00dani
Details
Author00dani
LicenseCC0
Categorytwitter.com
Created
Updated
Size797 B
Statistics
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Description
Notes
Userstyle doesn't have notes.Source code
/* ==UserStyle==
@name Twitter: Hide View Counts
@namespace userscripts.00dani.me
@version 1.0.0
@description Completely hide the awful view count feature
@author Danielle McLean
@preprocessor stylus
==/UserStyle== */
@-moz-document domain("twitter.com")
// Obviously this is pretty unreliable. Twitter's HTML is Extremely Horrible™ and
// you can't easily identify elements to get rid of them. This does work, but won't
// be very resilient to changes in the layout.
.css-1dbjc4n.r-2sztyj.r-1efd50x.r-5kkj8d.r-13awgt0.r-18u37iz.r-tzz3ar.r-s1qlax.r-1yzf0co
> .css-1dbjc4n.r-1mf7evn:first-child
display none
.css-1dbjc4n.r-1ta3fxp.r-18u37iz.r-1wtj0ep.r-1s2bzr4.r-1mdbhws
> .css-1dbjc4n.r-18u37iz.r-1h0z5md:first-child
display none